From b1481bb0d05af703e37615743e1f4613a7db10e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 20 Aug 2024 14:54:09 +0100 Subject: [PATCH] fix: Remove references to --lock-write flag (#63) --- src/resolution/snapshot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resolution/snapshot.rs b/src/resolution/snapshot.rs index b143086..520733a 100644 --- a/src/resolution/snapshot.rs +++ b/src/resolution/snapshot.rs @@ -870,7 +870,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 \"{filename}\".", +Investigate the lockfile; delete it to regenerate the lockfile at \"{filename}\".", )] pub struct IntegrityCheckFailedError { pub package_display_id: String, @@ -888,7 +888,7 @@ pub enum SnapshotFromLockfileError { #[from] source: NpmPackageVersionNotFound, }, - #[error("The lockfile is corrupt. You can recreate it with --lock-write")] + #[error("The lockfile is corrupt. Remove the lockfile to regenerate it.")] PackageIdNotFound(#[from] PackageIdNotFoundError), #[error(transparent)] IntegrityCheckFailed(#[from] IntegrityCheckFailedError),