Skip to content

Commit

Permalink
fix: correct variable name in source-map transform (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored and bcoe committed Dec 24, 2018
1 parent 888f6da commit de9c921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/istanbul-lib-source-maps/lib/transformer.js
Expand Up @@ -118,8 +118,8 @@ function getMapping(sourceMap, generatedLocation, origFile) {

if (start.line === end.line && start.column === end.column) {
end = sourceMap.originalPositionFor({
line: location.end.line,
column: location.end.column,
line: generatedLocation.end.line,
column: generatedLocation.end.column,
bias: 2
});
end.column = end.column - 1;
Expand Down

0 comments on commit de9c921

Please sign in to comment.