Skip to content

Commit

Permalink
fix mergeLoc
Browse files Browse the repository at this point in the history
  • Loading branch information
w-y committed Jan 18, 2018
1 parent da64974 commit cd0f02f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ exports.getMVHexDigits = getMVHexDigits;
function mergeLoc(fromLoc, toLoc) {
return {
first_line: fromLoc.first_line,
last_line: toLoc.lastLine,
last_line: toLoc.last_line,
first_column: fromLoc.firts_column,
last_column: toLoc.lastColumn,
last_column: toLoc.last_column,
range: [fromLoc.range[0], toLoc.range[1]],
};
}
Expand Down

0 comments on commit cd0f02f

Please sign in to comment.