summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 833f3d543..7efa84369 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -533,7 +533,7 @@ impl CliMainWorkerFactory {
// For npm binary commands, ensure that the lockfile gets updated
// so that we can re-use the npm resolution the next time it runs
// for better performance
- write_lockfile_if_has_changes(&lockfile.lock())?;
+ write_lockfile_if_has_changes(&mut lockfile.lock())?;
}
(node_resolution.into_url(), is_main_cjs)