style: oxfmt reflow argv0 assignment

This commit is contained in:
subrih 2026-03-13 19:46:35 -07:00
parent 59abb2c577
commit a9a1e7d912
1 changed files with 1 additions and 2 deletions

View File

@ -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,