We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 996824d commit d5b8020Copy full SHA for d5b8020
src/mapping.js
@@ -50,10 +50,10 @@ class SourceMapper {
50
let line = generated_position.line;
51
let column = generated_position.column;
52
53
- let line_match = this.decoded[generated_position.line];
+ let line_match = this.decoded[line];
54
while (line >= 0 && (!line_match || !line_match.length)) {
55
line -= 1;
56
- line_match = this.decoded[generated_position];
+ line_match = this.decoded[line];
57
if (line_match && line_match.length) {
58
return {
59
line: line_match[line_match.length - 1][2],
0 commit comments