refactor(exec): simplify env-prefixed wrapper modifier check
This commit is contained in:
parent
42373b6742
commit
d266d12be1
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user