summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-05 10:08:22 +0100
committerGitHub <noreply@github.com>2024-09-05 11:08:22 +0200
commit5dc907df87edbb154120f9c28a5cb2ca76702606 (patch)
tree52754e659547a33e4fcdce8c5e0772b22af2b232 /tests/specs
parent2c4d99a4586a8aa143feb8614e3b0d4de09dd190 (diff)
fix: update hint for `deno add <package>` (#25455)
Follow up to https://github.com/denoland/deno/pull/25430
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out2
-rw-r--r--tests/specs/check/with_bare_import/095_cache_with_bare_import.ts.out2
-rw-r--r--tests/specs/run/bare_specifier_without_import/main.out2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out b/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out
index 50daf8041..54e56a697 100644
--- a/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out
+++ b/tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts.out
@@ -1,3 +1,3 @@
[WILDCARD]error: Relative import path "foo" not prefixed with / or ./ or ../
- hint: If you want to use a JSR or npm package, try running `deno add foo`
+ hint: If you want to use a JSR or npm package, try running `deno add jsr:foo` or `deno add npm:foo`
at file:///[WILDCARD]/095_cache_with_bare_import.ts:[WILDCARD]
diff --git a/tests/specs/check/with_bare_import/095_cache_with_bare_import.ts.out b/tests/specs/check/with_bare_import/095_cache_with_bare_import.ts.out
index 50daf8041..54e56a697 100644
--- a/tests/specs/check/with_bare_import/095_cache_with_bare_import.ts.out
+++ b/tests/specs/check/with_bare_import/095_cache_with_bare_import.ts.out
@@ -1,3 +1,3 @@
[WILDCARD]error: Relative import path "foo" not prefixed with / or ./ or ../
- hint: If you want to use a JSR or npm package, try running `deno add foo`
+ hint: If you want to use a JSR or npm package, try running `deno add jsr:foo` or `deno add npm:foo`
at file:///[WILDCARD]/095_cache_with_bare_import.ts:[WILDCARD]
diff --git a/tests/specs/run/bare_specifier_without_import/main.out b/tests/specs/run/bare_specifier_without_import/main.out
index a873f2727..59ea23392 100644
--- a/tests/specs/run/bare_specifier_without_import/main.out
+++ b/tests/specs/run/bare_specifier_without_import/main.out
@@ -1,3 +1,3 @@
error: Relative import path "@std/dotenv/load" not prefixed with / or ./ or ../
- hint: If you want to use a JSR or npm package, try running `deno add @std/dotenv/load`
+ hint: If you want to use a JSR or npm package, try running `deno add jsr:@std/dotenv/load` or `deno add npm:@std/dotenv/load`
at [WILDCARD]bare_specifier_without_import/main.ts:1:8