From fc4a260d95d47b03105ddcaff20e82e4da5fb925 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Mon, 4 Sep 2017 13:22:49 +0100 Subject: [PATCH] Ensure error is from linting not compile logs --- .../web/public/coffee/ide/editor/directives/aceEditor.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor.coffee index 7660178182..b6455d8e93 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor.coffee @@ -378,7 +378,7 @@ define [ session.on('changeAnnotation', () -> hasErrors = session .getAnnotations() - .filter((annotation) -> annotation.type == 'error') + .filter((annotation) -> annotation.fromLinting && annotation.type == 'error') .length > 0 if ($rootScope.hasLintingError != hasErrors)