mirror of https://github.com/openclaw/openclaw.git
style: oxfmt reflow argv0 assignment
This commit is contained in:
parent
59abb2c577
commit
a9a1e7d912
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue