From 3e21569688cf0c8a1918c73ff96cb1b3aeffe0b3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 14:33:13 +0900 Subject: fix(compile): extract constants from traits to make them dyn-compatible --- crates/shirabe/src/installer/installation_manager.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/installer/installation_manager.rs') diff --git a/crates/shirabe/src/installer/installation_manager.rs b/crates/shirabe/src/installer/installation_manager.rs index 3362d86..798ea00 100644 --- a/crates/shirabe/src/installer/installation_manager.rs +++ b/crates/shirabe/src/installer/installation_manager.rs @@ -1,5 +1,6 @@ //! ref: composer/src/Composer/Installer/InstallationManager.php +use crate::io::io_interface; use anyhow::Result; use indexmap::IndexMap; use shirabe_external_packages::react::promise; @@ -414,7 +415,7 @@ impl InstallationManager { self.io.write_error( PhpMixed::String(format!(" - {}", operation.show(false))), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); } // PHP: $this->{$opType}($repo, $operation); @@ -532,7 +533,7 @@ impl InstallationManager { // ProgressBar in non-decorated output does not output a final line-break and clear() does nothing if !self.io.is_decorated() { self.io - .write_error(PhpMixed::String(String::new()), true, IOInterface::NORMAL); + .write_error(PhpMixed::String(String::new()), true, io_interface::NORMAL); } } } -- cgit v1.3.1