Skip to content

Commit

Permalink
more robust error handling in run-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Aug 19, 2017
1 parent e0c9532 commit 2ece349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const exec = (bin, ...args) =>
failed: code !== 0,
output,
hasWarnings,
warnings: ansi.strip (stderr).match (/\[[^\]]+Error\]/g) || []
warnings: ansi.strip (stderr).match (/\[[^\]]+\]/g) || []
})
})
})
Expand Down

0 comments on commit 2ece349

Please sign in to comment.