Skip to content

Commit

Permalink
also allow a possible end of a lint-span
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Mar 30, 2016
1 parent 9ce81dc commit e6dfb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export default {
filePath: path.isAbsolute(match.file) ? match.file : path.join(atom.project.getPaths()[0], match.file),
range: [
[ (match.line || 1) - 1, (match.col || 1) - 1 ],
[ (match.line || 1) - 1, (match.col || 1) - 1]
[ (match.line_end || match.line || 1) - 1, (match.col_end || match.col || 1) - 1 ]
]
})));

Expand Down

0 comments on commit e6dfb79

Please sign in to comment.