Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
remove range
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jun 29, 2016
1 parent 9c189d8 commit c9e5bf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/init.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ module.exports =
type: 'Error'
text: output
filePath: textEditor.getPath()
range: [[0, 0], [0, 0]]
})
return messages

Expand Down
2 changes: 1 addition & 1 deletion spec/linter-xmllint-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe 'The xmllint provider for Linter', ->
expect(messages.length).toBeGreaterThan 0
expect(messages.length).toBeLessThan 3
if messages.length is 1
expect(messages[0].range).toEqual [[0, 0], [0, 0]]
expect(messages[0].range).toEqual undefined
expect(messages[0].text).toContain 'unavailable.xsd'
else
expect(messages[0].range).toEqual [[0, 0], [0, 0]]
Expand Down

0 comments on commit c9e5bf8

Please sign in to comment.