From f411daceacad66e0bd774fda7d3c5ef8533cc55c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 26 May 2026 20:04:02 +0900 Subject: refactor(io): share IOInterface via Rc> handle Co-Authored-By: Claude Opus 4.7 --- crates/shirabe/src/console/github_action_error.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/shirabe/src/console/github_action_error.rs') diff --git a/crates/shirabe/src/console/github_action_error.rs b/crates/shirabe/src/console/github_action_error.rs index 933ba0a..963f5c1 100644 --- a/crates/shirabe/src/console/github_action_error.rs +++ b/crates/shirabe/src/console/github_action_error.rs @@ -1,15 +1,16 @@ //! ref: composer/src/Composer/Console/GithubActionError.php use crate::io::IOInterface; +use crate::io::IOInterfaceImmutable; use crate::util::Platform; #[derive(Debug)] pub struct GithubActionError { - pub(crate) io: Box, + pub(crate) io: std::rc::Rc>, } impl GithubActionError { - pub fn new(io: Box) -> Self { + pub fn new(io: std::rc::Rc>) -> Self { Self { io } } -- cgit v1.3.1