We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5178b2d commit 7efc6f3Copy full SHA for 7efc6f3
1 file changed
index.js
@@ -8,7 +8,7 @@ function highlightQuery (query, errors) {
8
9
query.split('\n').forEach(function (row, index) {
10
var line = index + 1
11
- var lineErrors = locations.filter(function (loc) { return loc.line === line })
+ var lineErrors = locations.filter(function (loc) { return loc && loc.line === line })
12
13
queryHighlight += row + '\n'
14
0 commit comments