aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/auth_helper.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/auth_helper.rs')
-rw-r--r--crates/shirabe/src/util/auth_helper.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/auth_helper.rs b/crates/shirabe/src/util/auth_helper.rs
index 33d0b54..384d7af 100644
--- a/crates/shirabe/src/util/auth_helper.rs
+++ b/crates/shirabe/src/util/auth_helper.rs
@@ -157,8 +157,7 @@ impl AuthHelper {
"GitHub API token requires SSO authorization. Authorize this token at {}\n",
sso_url,
);
- self.io
- .write_error(PhpMixed::String(message), true, io_interface::NORMAL);
+ self.io.write_error3(&message, true, io_interface::NORMAL);
if !self.io.is_interactive() {
return Err(TransportException::new(
format!("Could not authenticate against {}", origin),