mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Filter linting warnings
This commit is contained in:
parent
9cde236bc8
commit
e2523c569e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue