From c839244d8d09f3036ebfee8eef7eb6b147e593ab Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 May 2026 00:10:22 +0900 Subject: fix(compile): fix various compile errors Co-Authored-By: Claude Sonnet 4.6 --- crates/shirabe/src/util/process_executor.rs | 4 ++-- 1 file changed, 2 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 6351a73..ed1958d 100644 --- a/crates/shirabe/src/util/process_executor.rs +++ b/crates/shirabe/src/util/process_executor.rs @@ -118,7 +118,7 @@ impl ProcessExecutor { /// runs a process on the commandline in TTY mode pub fn execute_tty(&mut self, command: PhpMixed, cwd: Option<&str>) -> Result { - if Platform::is_tty() { + if Platform::is_tty(None) { return self.do_execute(command, cwd, true, None); } @@ -448,7 +448,7 @@ impl ProcessExecutor { 1, min( 50, - max_jobs_env.as_string().unwrap_or("0").parse().unwrap_or(0), + max_jobs_env.as_deref().unwrap_or("0").parse().unwrap_or(0), ), ); } else { -- cgit v1.3.1