diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-05 10:08:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 11:08:22 +0200 |
commit | 5dc907df87edbb154120f9c28a5cb2ca76702606 (patch) | |
tree | 52754e659547a33e4fcdce8c5e0772b22af2b232 /tests/testdata | |
parent | 2c4d99a4586a8aa143feb8614e3b0d4de09dd190 (diff) |
fix: update hint for `deno add <package>` (#25455)
Follow up to https://github.com/denoland/deno/pull/25430
Diffstat (limited to 'tests/testdata')
-rw-r--r-- | tests/testdata/run/error_type_definitions.ts.out | 2 | ||||
-rw-r--r-- | tests/testdata/run/with_package_json/with_stop/main.out | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdata/run/error_type_definitions.ts.out b/tests/testdata/run/error_type_definitions.ts.out index 7a71b4ebe..057c21df5 100644 --- a/tests/testdata/run/error_type_definitions.ts.out +++ b/tests/testdata/run/error_type_definitions.ts.out @@ -1,3 +1,3 @@ [WILDCARD]error: Failed resolving types. Relative import path "baz" not prefixed with / or ./ or ../ - hint: If you want to use a JSR or npm package, try running `deno add baz` + hint: If you want to use a JSR or npm package, try running `deno add jsr:baz` or `deno add npm:baz` at [WILDCARD]/type_definitions/bar.d.ts:[WILDCARD] diff --git a/tests/testdata/run/with_package_json/with_stop/main.out b/tests/testdata/run/with_package_json/with_stop/main.out index afab4910c..44098a2d8 100644 --- a/tests/testdata/run/with_package_json/with_stop/main.out +++ b/tests/testdata/run/with_package_json/with_stop/main.out @@ -1,5 +1,5 @@ [WILDCARD]Config file found at '[WILDCARD]with_package_json[WILDCARD]with_stop[WILDCARD]some[WILDCARD]nested[WILDCARD]deno.json' [WILDCARD] error: Relative import path "chalk" not prefixed with / or ./ or ../ - hint: If you want to use a JSR or npm package, try running `deno add chalk` + hint: If you want to use a JSR or npm package, try running `deno add jsr:chalk` or `deno add npm:chalk` at file:///[WILDCARD]with_package_json/with_stop/some/nested/dir/main.ts:3:19 |