summaryrefslogtreecommitdiff
path: root/tests/registry/jsr/@denotest/unstable/1.0.0-beta.2/mod.ts
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-11-04 18:45:00 -0800
committerGitHub <noreply@github.com>2024-11-05 02:45:00 +0000
commit706b1dfcea8ab6bf7d155893ab795669107516a8 (patch)
tree34d176aeb6baa3dd4794d3f2c325720196fbca02 /tests/registry/jsr/@denotest/unstable/1.0.0-beta.2/mod.ts
parent44eca0505c35201c6b67ba073834402b7681914f (diff)
fix(add): better error message when adding package that only has pre-release versions (#26724)
Fixes https://github.com/denoland/deno/issues/26597 A small refactor as well to reduce some code duplication
Diffstat (limited to 'tests/registry/jsr/@denotest/unstable/1.0.0-beta.2/mod.ts')
-rw-r--r--tests/registry/jsr/@denotest/unstable/1.0.0-beta.2/mod.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/registry/jsr/@denotest/unstable/1.0.0-beta.2/mod.ts b/tests/registry/jsr/@denotest/unstable/1.0.0-beta.2/mod.ts
new file mode 100644
index 000000000..4e599641e
--- /dev/null
+++ b/tests/registry/jsr/@denotest/unstable/1.0.0-beta.2/mod.ts
@@ -0,0 +1,3 @@
+export function doThing() {
+ return "thing2";
+} \ No newline at end of file