update standard

pull/5370/head
yann300 5 years ago committed by GitHub
parent ce3fc587ec
commit 7f1c283b62
  1. 2
      src/lib/offsetToLineColumnConverter.js

@ -25,7 +25,7 @@ export class OffsetToLineColumnConverter extends Plugin {
this.lineBreakPositionsByContent[file] = this.sourceMappingDecoder.getLinebreakPositions(sources[sourcesArray[0]].content)
} else {
for (var filename in asts) {
var source = asts[filename]
const source = asts[filename]
if (source.id === file) {
this.lineBreakPositionsByContent[file] = this.sourceMappingDecoder.getLinebreakPositions(sources[filename].content)
break

Loading…
Cancel
Save