Skip to content

Commit

Permalink
Merge pull request #64 from codeclimate/will/never-null-location
Browse files Browse the repository at this point in the history
Default line/column when null
  • Loading branch information
wfleming committed Jan 25, 2016
2 parents 0e6817c + 11b7559 commit 4130c29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/eslint.js
Original file line number Diff line number Diff line change
@@ -51,12 +51,12 @@ function buildIssueJson(message, path) {
path: path,
positions: {
begin: {
line: message.line,
column: message.column
line: message.line || 1,
column: message.column || 1
},
end: {
line: message.line,
column: message.column
line: message.line || 1,
column: message.column || 1
}
}
},

0 comments on commit 4130c29

Please sign in to comment.