summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 586c2ff10..e8bea9f54 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -280,11 +280,6 @@ fn exit_for_error(error: AnyError) -> ! {
if let Some(e) = error.downcast_ref::<JsError>() {
error_string = format_js_error(e);
- } else if let Some(args::LockfileError::IntegrityCheckFailed(e)) =
- error.downcast_ref::<args::LockfileError>()
- {
- error_string = e.to_string();
- error_code = 10;
} else if let Some(SnapshotFromLockfileError::IntegrityCheckFailed(e)) =
error.downcast_ref::<SnapshotFromLockfileError>()
{