diff options
Diffstat (limited to 'crates/mozart/src/commands/update.rs')
| -rw-r--r-- | crates/mozart/src/commands/update.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/mozart/src/commands/update.rs b/crates/mozart/src/commands/update.rs index fc9400a..930c458 100644 --- a/crates/mozart/src/commands/update.rs +++ b/crates/mozart/src/commands/update.rs @@ -735,6 +735,7 @@ pub fn execute(args: &UpdateArgs, cli: &super::Cli) -> anyhow::Result<()> { platform: PlatformConfig::new(), ignore_platform_reqs: args.ignore_platform_reqs, ignore_platform_req_list: args.ignore_platform_req.clone(), + repo_cache: None, }; // Step 6: Print header and run resolver @@ -872,6 +873,7 @@ pub fn execute(args: &UpdateArgs, cli: &super::Cli) -> anyhow::Result<()> { composer_json_content: composer_json_content.clone(), composer_json: composer_json.clone(), include_dev: dev_mode, + repo_cache: None, })?; // Step 10: Compute and print change report @@ -1677,6 +1679,7 @@ mod tests { platform: PlatformConfig::new(), ignore_platform_reqs: false, ignore_platform_req_list: vec![], + repo_cache: None, }; let resolved = resolve(&request).expect("Resolution should succeed"); @@ -1688,6 +1691,7 @@ mod tests { composer_json_content: composer_json_content.to_string(), composer_json, include_dev: false, + repo_cache: None, }) .expect("Lock file generation should succeed"); |
