Skip to content

Commit

Permalink
maint(core parser): Optimize regef for splitting multi-configs by enf…
Browse files Browse the repository at this point in the history
…orcing whitespace around &&.
  • Loading branch information
thet committed Sep 27, 2022
1 parent 4a4cd49 commit f9afcf2
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 @@ -443,7 +443,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 f9afcf2

Please sign in to comment.