mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 11:10:20 +00:00
refactor(exec): simplify env-prefixed wrapper modifier check
This commit is contained in:
@@ -237,7 +237,7 @@ function envInvocationUsesModifiers(argv: string[]): boolean {
|
||||
return true;
|
||||
}
|
||||
if (ENV_OPTIONS_WITH_VALUE.has(flag)) {
|
||||
if (lower.includes("=") || lower !== flag) {
|
||||
if (lower.includes("=")) {
|
||||
return true;
|
||||
}
|
||||
expectsOptionValue = true;
|
||||
|
||||
Reference in New Issue
Block a user