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/gitlab_driver.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'crates/shirabe/src/repository/vcs/gitlab_driver.rs') diff --git a/crates/shirabe/src/repository/vcs/gitlab_driver.rs b/crates/shirabe/src/repository/vcs/gitlab_driver.rs index 583f221..dea1bf6 100644 --- a/crates/shirabe/src/repository/vcs/gitlab_driver.rs +++ b/crates/shirabe/src/repository/vcs/gitlab_driver.rs @@ -1,5 +1,6 @@ //! ref: composer/src/Composer/Repository/Vcs/GitLabDriver.php +use crate::io::io_interface; use anyhow::Result; use chrono::{DateTime, Utc}; use indexmap::IndexMap; @@ -684,7 +685,7 @@ impl GitLabDriver { url )), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); Err(e) } @@ -785,7 +786,7 @@ impl GitLabDriver { .to_string(), ), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); self.attempt_clone_fallback() @@ -887,7 +888,7 @@ impl GitLabDriver { self.namespace, self.repository, e.message )), true, - IOInterface::NORMAL, + io_interface::NORMAL, ); git_lab_util.authorize_oauth_interactively( &self.scheme, @@ -969,7 +970,7 @@ impl GitLabDriver { url )), true, - IOInterface::VERBOSE, + io_interface::VERBOSE, ); return false; -- cgit v1.3.1