Skip to content

Commit

Permalink
maint(core parser): Enforce whitespace around multi-config concatenat…
Browse files Browse the repository at this point in the history
…ion operator.

For multiple configurations like in concatenating multiple source and
target options pat-inject with the && operator, enforce whitespace
around the double-ampersand.
  • Loading branch information
thet committed Jan 13, 2025
1 parent 1dfede0 commit 35ffc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ class ArgumentParser {
}
const _parse = this._parse.bind(this);
if (data.match(/&&/)) {
frame = data.split(/\s*&&\s*/).map(_parse);
frame = data.split(/\s+&&\s+/).map(_parse);
} else {
frame = _parse(data);
}
Expand Down

0 comments on commit 35ffc7d

Please sign in to comment.