diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-08-20 19:13:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-20 20:13:17 +0200 |
commit | 1f47248143b2298d38dbada5b431570c067ed663 (patch) | |
tree | 769aa2bf5ff4b9df106eb28f7402a2ba6378fed5 /tests/integration/npm_tests.rs | |
parent | 07044547559cafe1a86afc0f1dec13967803eb11 (diff) |
fix: adjust suggestion for lockfile regeneration (#25107)
Ref https://github.com/denoland/deno/pull/24436#issuecomment-2288568645
Diffstat (limited to 'tests/integration/npm_tests.rs')
-rw-r--r-- | tests/integration/npm_tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs index 6be0298d8..86db962f4 100644 --- a/tests/integration/npm_tests.rs +++ b/tests/integration/npm_tests.rs @@ -1200,7 +1200,7 @@ fn lock_file_missing_top_level_package() { "error: failed reading lockfile 'deno.lock'\n", "\n", "Caused by:\n", - " 0: The lockfile is corrupt. You can recreate it with --lock-write\n", + " 0: The lockfile is corrupt. Remove the lockfile to regenerate it.\n", " 1: Could not find 'cowsay@1.5.0' in the list of packages.\n" ) ); @@ -1483,7 +1483,7 @@ This could be caused by: * the lock file may be corrupt * the source itself may be corrupt -Use the --lock-write flag to regenerate the lockfile at "[WILDCARD]deno.lock". +Investigate the lockfile; delete it to regenerate the lockfile at "[WILDCARD]deno.lock". "#) .assert_exit_code(10); } |