Explorar el Código

Filter linting warnings

Alasdair Smith hace 9 años
padre
commit
e2523c569e

+ 1 - 1
services/web/public/coffee/ide/editor/directives/aceEditor.coffee

@@ -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)