Filter linting warnings

This commit is contained in:
Alasdair Smith 2017-09-07 17:45:16 +01:00
parent 9cde236bc8
commit e2523c569e

View file

@ -382,7 +382,7 @@ define [
# autocompile we are guaranteed to get linter errors
hasErrors = session
.getAnnotations()
.filter((annotation) -> annotation.type == 'error')
.filter((annotation) -> annotation.type != 'info')
.length > 0
if ($rootScope.hasLintingError != hasErrors)