Skip to content

Commit

Permalink
Re-use last messages if linter throws an error
Browse files Browse the repository at this point in the history
This avoids the “Linter Result must be an Array” warning. See also #180 (comment).
  • Loading branch information
sonicdoe committed Jul 31, 2017
1 parent 77d728d commit 32e8b75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/linter-js-standard.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ module.exports = function () {
detail: err.message,
dismissable: true
})

return null
})
}
}
Expand Down

0 comments on commit 32e8b75

Please sign in to comment.