From 2d474e91e49c7343d28198eff2b5bbbed9afbcee Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 10 Jun 2026 02:41:34 +0900 Subject: feat(phase-c): resolve cross-module phase-b TODOs --- crates/shirabe/src/command/remove_command.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crates/shirabe/src/command/remove_command.rs') diff --git a/crates/shirabe/src/command/remove_command.rs b/crates/shirabe/src/command/remove_command.rs index 1857b17..6cd2424 100644 --- a/crates/shirabe/src/command/remove_command.rs +++ b/crates/shirabe/src/command/remove_command.rs @@ -14,6 +14,7 @@ use crate::config::JsonConfigSource; use crate::console::input::InputArgument; use crate::console::input::InputOption; use crate::dependency_resolver::Request; +use crate::dependency_resolver::UpdateAllowTransitiveDeps; use crate::factory::Factory; use crate::installer::Installer; use crate::io::IOInterface; @@ -597,7 +598,7 @@ impl RemoveCommand { .unwrap_or(false); let mut update_allow_transitive_dependencies = - Request::UPDATE_LISTED_WITH_TRANSITIVE_DEPS_NO_ROOT_REQUIRE; + UpdateAllowTransitiveDeps::UpdateListedWithTransitiveDepsNoRootRequire; let mut flags = String::new(); if input .borrow() @@ -610,7 +611,8 @@ impl RemoveCommand { .as_bool() .unwrap_or(false) { - update_allow_transitive_dependencies = Request::UPDATE_LISTED_WITH_TRANSITIVE_DEPS; + update_allow_transitive_dependencies = + UpdateAllowTransitiveDeps::UpdateListedWithTransitiveDeps; flags += " --with-all-dependencies"; } else if input .borrow() @@ -618,7 +620,7 @@ impl RemoveCommand { .as_bool() .unwrap_or(false) { - update_allow_transitive_dependencies = Request::UPDATE_ONLY_LISTED; + update_allow_transitive_dependencies = UpdateAllowTransitiveDeps::UpdateOnlyListed; flags += " --with-dependencies"; } -- cgit v1.3.1