From a8f115666344abe3b606a4a65595ca301e7ac08a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 24 Jun 2026 21:10:48 +0900 Subject: refactor(process): take cwd as Option<&str> instead of IntoExecCwd Replace the generic cwd parameter backed by the IntoExecCwd trait with a concrete Option<&str> across execute/execute_args/execute_tty/execute_async. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/src/command/diagnose_command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/shirabe/src/command/diagnose_command.rs') diff --git a/crates/shirabe/src/command/diagnose_command.rs b/crates/shirabe/src/command/diagnose_command.rs index 6757d94..99118cd 100644 --- a/crates/shirabe/src/command/diagnose_command.rs +++ b/crates/shirabe/src/command/diagnose_command.rs @@ -532,7 +532,7 @@ impl DiagnoseCommand { "color.ui".to_string(), ], &mut output, - (), + None, ); if strtolower(&trim(&output, Some(" \t\n\r\0\u{0B}"))) == "always" { return "Your git color.ui setting is set to always, this is known to create issues. Use \"git config --global color.ui true\" to set it correctly.".to_string(); -- cgit v1.3.1