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/tests/platform/hhvm_detector_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/shirabe/tests/platform') diff --git a/crates/shirabe/tests/platform/hhvm_detector_test.rs b/crates/shirabe/tests/platform/hhvm_detector_test.rs index 49804e3..72fd68d 100644 --- a/crates/shirabe/tests/platform/hhvm_detector_test.rs +++ b/crates/shirabe/tests/platform/hhvm_detector_test.rs @@ -58,7 +58,7 @@ fn test_hhvm_version_when_executing_in_php() { ProcessExecutor::escape(&hhvm) ); let exit_code = process - .execute(cmd.as_str(), Some(&mut version), ()) + .execute(cmd.as_str(), Some(&mut version), None) .unwrap(); assert_eq!(0, exit_code); -- cgit v1.3.1