summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-08-20 19:13:17 +0100
committerGitHub <noreply@github.com>2024-08-20 20:13:17 +0200
commit1f47248143b2298d38dbada5b431570c067ed663 (patch)
tree769aa2bf5ff4b9df106eb28f7402a2ba6378fed5 /cli/graph_util.rs
parent07044547559cafe1a86afc0f1dec13967803eb11 (diff)
fix: adjust suggestion for lockfile regeneration (#25107)
Ref https://github.com/denoland/deno/pull/24436#issuecomment-2288568645
Diffstat (limited to 'cli/graph_util.rs')
-rw-r--r--cli/graph_util.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/graph_util.rs b/cli/graph_util.rs
index 647307bd9..6f0e6acd9 100644
--- a/cli/graph_util.rs
+++ b/cli/graph_util.rs
@@ -803,7 +803,7 @@ fn enhanced_lockfile_error_message(err: &ModuleError) -> Option<String> {
"This could be caused by:\n",
" * the lock file may be corrupt\n",
" * the source itself may be corrupt\n\n",
- "Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server."
+ "Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server."
),
package_nv,
checksum_err.actual,
@@ -824,7 +824,7 @@ fn enhanced_lockfile_error_message(err: &ModuleError) -> Option<String> {
"This could be caused by:\n",
" * the lock file may be corrupt\n",
" * the source itself may be corrupt\n\n",
- "Use the --lock-write flag to regenerate the lockfile or --reload to reload the source code from the server."
+ "Investigate the lockfile; delete it to regenerate the lockfile or --reload to reload the source code from the server."
),
specifier,
checksum_err.actual,