summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r--cli/module_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 9be1ceff2..593868687 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -175,7 +175,7 @@ impl ModuleLoadPreparer {
// write the lockfile if there is one
if let Some(lockfile) = &self.lockfile {
- write_lockfile_if_has_changes(&lockfile.lock())?;
+ write_lockfile_if_has_changes(&mut lockfile.lock())?;
}
drop(_pb_clear_guard);