Skip to content

Commit

Permalink
edited the way exceptions are catched in run-tests.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Aug 21, 2017
1 parent f450425 commit 27bb24c
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 (/\[[^\]]+\]/g) || []
warnings: ansi.strip (stderr).match (/^\[[^\]]+\]/g) || []
})
})
})
Expand Down

0 comments on commit 27bb24c

Please sign in to comment.