From 1f47248143b2298d38dbada5b431570c067ed663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 20 Aug 2024 19:13:17 +0100 Subject: fix: adjust suggestion for lockfile regeneration (#25107) Ref https://github.com/denoland/deno/pull/24436#issuecomment-2288568645 --- cli/graph_util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/graph_util.rs') 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 { "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 { "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, -- cgit v1.2.3