Skip to content

Commit

Permalink
fix: Remove references to --lock-write flag (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju authored Aug 20, 2024
1 parent 848e849 commit b1481bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolution/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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),
Expand Down

0 comments on commit b1481bb

Please sign in to comment.