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/repository/vcs/github_driver.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'crates/shirabe/src/repository/vcs/github_driver.rs') diff --git a/crates/shirabe/src/repository/vcs/github_driver.rs b/crates/shirabe/src/repository/vcs/github_driver.rs index 233e3ea..7bf15bf 100644 --- a/crates/shirabe/src/repository/vcs/github_driver.rs +++ b/crates/shirabe/src/repository/vcs/github_driver.rs @@ -1,5 +1,6 @@ //! ref: composer/src/Composer/Repository/Vcs/GitHubDriver.php +use crate::io::io_interface; use anyhow::Result; use chrono::{DateTime, Utc}; use indexmap::IndexMap; @@ -628,7 +629,7 @@ impl GitHubDriver { item_url )), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); keys_to_remove.push(key_idx); } @@ -901,7 +902,7 @@ impl GitHubDriver { url )), true, - IOInterface::VERBOSE, + io_interface::VERBOSE, ); return false; @@ -1062,7 +1063,7 @@ impl GitHubDriver { self.inner.url )), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); return Err(e); } @@ -1091,7 +1092,7 @@ impl GitHubDriver { ], )), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); } @@ -1211,7 +1212,7 @@ impl GitHubDriver { self.generate_ssh_url() )), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); Err(setup_err) } -- cgit v1.3.1