aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/remove.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/remove.rs')
-rw-r--r--crates/mozart/src/commands/remove.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/mozart/src/commands/remove.rs b/crates/mozart/src/commands/remove.rs
index 6498e01..a25d557 100644
--- a/crates/mozart/src/commands/remove.rs
+++ b/crates/mozart/src/commands/remove.rs
@@ -118,8 +118,7 @@ pub async fn execute(
console.info(&console_format!("<warning>The -W / --update-with-all-dependencies flag is deprecated. Use --with-all-dependencies instead.</warning>"));
}
- // Step 3: Resolve working directory and read composer.json
- let working_dir = super::install::resolve_working_dir(cli);
+ let working_dir = cli.working_dir()?;
let composer_path = working_dir.join("composer.json");
if !composer_path.exists() {