diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2023-08-08 10:07:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 10:07:29 -0700 |
commit | f2e30a6f7999fa6ce4ab789266927e3abbb48e3f (patch) | |
tree | 9d941906a651fedf62818e3e9e8a782cf50d91ce /cli/tests/integration/npm_tests.rs | |
parent | 05f838a57cc5b5e7b262e1640baa4d93dfb0df28 (diff) |
refactor(cli): move `snapshot_from_lockfile` function to `deno_npm` (#20024)
This commit moves `snapshot_from_lockfile` function to [deno_npm
crate](https://github.com/denoland/deno_npm). This allows this function
to be called outside Deno CLI (in particular, Deno Deploy).
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index c44335efc..fb8d88dca 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -1915,7 +1915,8 @@ fn reload_info_not_found_cache_but_exists_remote() { "error: failed reading lockfile '[WILDCARD]deno.lock'\n", "\n", "Caused by:\n", - " Could not find '@denotest/esm-basic@1.0.0' specified in the lockfile.\n" + " 0: Could not find '@denotest/esm-basic@1.0.0' specified in the lockfile.\n", + " 1: Could not find version '1.0.0' for npm package '@denotest/esm-basic'.\n", )); output.assert_exit_code(1); |