mirror of
https://github.com/moltbot/moltbot.git
synced 2026-03-20 07:54:36 +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