From a9a1e7d912fee28741e10bb03d45a87a4f6a3c0e Mon Sep 17 00:00:00 2001 From: subrih Date: Fri, 13 Mar 2026 19:46:35 -0700 Subject: [PATCH] style: oxfmt reflow argv0 assignment --- src/agents/bash-tools.exec-runtime.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/agents/bash-tools.exec-runtime.ts b/src/agents/bash-tools.exec-runtime.ts index 2b0475d197b..24977f4b158 100644 --- a/src/agents/bash-tools.exec-runtime.ts +++ b/src/agents/bash-tools.exec-runtime.ts @@ -359,8 +359,7 @@ export async function runExecProcess(opts: { // checkAccessPolicy matches against a path-like token instead of a multi-word // string that never matches any absolute-path rule (and would pass unconditionally // under a permissive default). - const argv0 = - resolveArgv0(baseCommand, opts.workdir) ?? baseCommand.trim().split(/\s+/)[0] ?? baseCommand; + const argv0 = resolveArgv0(baseCommand, opts.workdir) ?? baseCommand.trim().split(/\s+/)[0] ?? baseCommand; const { policy: effectivePermissions, overrideRules,