summaryrefslogtreecommitdiff
path: root/cli/graph_util.rs
diff options
context:
space:
mode:
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,