Skip to content

Commit 35ffc7d

Browse files
committed
maint(core parser): Enforce whitespace around multi-config concatenation operator.
For multiple configurations like in concatenating multiple source and target options pat-inject with the && operator, enforce whitespace around the double-ampersand.
1 parent 1dfede0 commit 35ffc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/parser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ class ArgumentParser {
441441
}
442442
const _parse = this._parse.bind(this);
443443
if (data.match(/&&/)) {
444-
frame = data.split(/\s*&&\s*/).map(_parse);
444+
frame = data.split(/\s+&&\s+/).map(_parse);
445445
} else {
446446
frame = _parse(data);
447447
}

0 commit comments

Comments
 (0)