From 706b1dfcea8ab6bf7d155893ab795669107516a8 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Mon, 4 Nov 2024 18:45:00 -0800 Subject: 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 --- tests/registry/jsr/@denotest/unstable/1.0.0-beta.1/mod.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/registry/jsr/@denotest/unstable/1.0.0-beta.1/mod.ts (limited to 'tests/registry/jsr/@denotest/unstable/1.0.0-beta.1/mod.ts') diff --git a/tests/registry/jsr/@denotest/unstable/1.0.0-beta.1/mod.ts b/tests/registry/jsr/@denotest/unstable/1.0.0-beta.1/mod.ts new file mode 100644 index 000000000..de6368618 --- /dev/null +++ b/tests/registry/jsr/@denotest/unstable/1.0.0-beta.1/mod.ts @@ -0,0 +1,3 @@ +export function doThing() { + return "thing"; +} \ No newline at end of file -- cgit v1.2.3