Merge pull request #284 from ethereum/warningdetection

Fix warning detection.
pull/1/head
Alex Beregszaszi 8 years ago committed by GitHub
commit e3742cfed5
  1. 2
      src/app/utils.js

@ -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 = {

Loading…
Cancel
Save