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/util/process_executor.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/util/process_executor.rs') diff --git a/crates/shirabe/src/util/process_executor.rs b/crates/shirabe/src/util/process_executor.rs index 2d97322..6351a73 100644 --- a/crates/shirabe/src/util/process_executor.rs +++ b/crates/shirabe/src/util/process_executor.rs @@ -1,5 +1,6 @@ //! ref: composer/src/Composer/Util/ProcessExecutor.php +use crate::io::io_interface; use anyhow::Result; use indexmap::IndexMap; use std::sync::{LazyLock, Mutex}; @@ -361,13 +362,13 @@ impl ProcessExecutor { self.io.as_ref().unwrap().write_error_raw( PhpMixed::String(buffer.to_string()), false, - IOInterface::NORMAL, + io_interface::NORMAL, ); } else { self.io.as_ref().unwrap().write_raw( PhpMixed::String(buffer.to_string()), false, - IOInterface::NORMAL, + io_interface::NORMAL, ); } } -- cgit v1.3.1