aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/require.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/require.rs')
-rw-r--r--crates/mozart/src/commands/require.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/mozart/src/commands/require.rs b/crates/mozart/src/commands/require.rs
index 45ad759..110bd1a 100644
--- a/crates/mozart/src/commands/require.rs
+++ b/crates/mozart/src/commands/require.rs
@@ -765,6 +765,7 @@ pub async fn execute(
repositories: std::sync::Arc::new(
mozart_registry::repository::RepositorySet::with_packagist(repo_cache.clone()),
),
+ previous_lock: old_lock.clone(),
})
.await?;
@@ -1095,6 +1096,7 @@ mod tests {
),
),
),
+ previous_lock: None,
})
.await
.expect("Lock file generation should succeed");
@@ -1168,6 +1170,7 @@ mod tests {
),
),
),
+ previous_lock: None,
})
.await
.expect("Lock file generation should succeed");