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) this.lineBreakPositionsByContent[file] = this.sourceMappingDecoder.getLinebreakPositions(sources[sourcesArray[0]].content)
} else { } else {
for (var filename in asts) { for (var filename in asts) {
var source = asts[filename] const source = asts[filename]
if (source.id === file) { if (source.id === file) {
this.lineBreakPositionsByContent[file] = this.sourceMappingDecoder.getLinebreakPositions(sources[filename].content) this.lineBreakPositionsByContent[file] = this.sourceMappingDecoder.getLinebreakPositions(sources[filename].content)
break break

Loading…
Cancel
Save