Skip to content

Commit 2257435

Browse files
ESLint fixes
1 parent 5754e1d commit 2257435

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// tslint:disable: no-default-export
21
import * as convert from "convert-source-map";
32
import { createInstrumenter, RawSourceMap } from "istanbul-lib-instrument";
43
import * as loaderUtils from "loader-utils";
@@ -61,7 +60,8 @@ function getInlineSourceMap(this: loader.LoaderContext, source: string): RawSour
6160
// Exception is thrown by fromMapFileSource when there is no source map file
6261
if (e instanceof Error && e.message.includes("An error occurred while trying to read the map file at")) {
6362
this.emitWarning(e);
64-
} else {
63+
}
64+
else {
6565
throw e;
6666
}
6767
}

0 commit comments

Comments
 (0)