diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-19 05:55:50 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 19:55:50 +0000 |
commit | 5057f58145ab47276fdc4392619888e37aea8864 (patch) | |
tree | dbcc9551eaffee6f1a7c8891977e0c36f1e67343 /tests/integration | |
parent | a1d0a427e807959666a6b23ae015e4e04659abf5 (diff) |
feat: suggest `deno install --entrypoint` instead of `deno cache` (#25228)
Hides `deno cache` from `--help` output.
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/npm_tests.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs index aaea65d14..3aea62fc6 100644 --- a/tests/integration/npm_tests.rs +++ b/tests/integration/npm_tests.rs @@ -1821,7 +1821,10 @@ fn reload_info_not_found_cache_but_exists_remote() { { // create it temp_dir.write("deno.json", r#"{}"#); - test_context.new_command().args("cache main.ts").run(); + test_context + .new_command() + .args("install --entrypoint main.ts") + .run(); assert!(temp_dir.path().join("deno.lock").exists()); // remove a version found in the lockfile |