diff options
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r-- | lib/compilers/argument-parsers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js index 3f5070d9d..6b139c829 100644 --- a/lib/compilers/argument-parsers.js +++ b/lib/compilers/argument-parsers.js @@ -220,7 +220,7 @@ export class VCParser extends BaseParser { utils.eachLine(stdout, line => { if (line.length === 0) return; if (line.includes('C/C++ COMPILER OPTIONS')) return; - if (line.match(/^\s+-.*-$/)) return; + if (/^\s+-.*-$/.test(line)) return; let col1; let col2; |