Skip to content

Commit

Permalink
Improve d8 error recognition when other output is present
Browse files Browse the repository at this point in the history
  • Loading branch information
bterlson committed Apr 29, 2016
1 parent 818a917 commit 925aa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/D8Runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const inception = require('./inception');
const ConsoleRunner = require('./ConsoleRunner');
const ErrorParser = require('./parseError.js');

const errorRe = /^(.*?):(\d+): ((\w+): (.*))[\w\W]*\3((:?\s+at.*\r?\n)*)(\r?\n)+$/;
const errorRe = /(.*?):(\d+): ((\w+): (.*))[\w\W]*\3((:?\s+at.*\r?\n)*)(\r?\n)+$/;

const runtimeStr = inception(
fs.readFileSync(__dirname + '/../runtimes/d8.js', 'utf8')
Expand Down

0 comments on commit 925aa3c

Please sign in to comment.