Commit e3742cfe authored by Alex Beregszaszi's avatar Alex Beregszaszi Committed by GitHub

Merge pull request #284 from ethereum/warningdetection

Fix warning detection.
parents e63f127b 4e639f45
......@@ -19,7 +19,7 @@ function fileNameFromKey (key) {
}
function errortype (message) {
return message.match(/^.*:[0-9]*:[0-9]* Warning: /) ? 'warning' : 'error'
return message.match(/^(.*:[0-9]*:[0-9]* )?Warning: /) ? 'warning' : 'error'
}
module.exports = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment