Skip to content

Commit

Permalink
ESLint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Jul 16, 2020
1 parent 5754e1d commit 2257435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// tslint:disable: no-default-export
import * as convert from "convert-source-map";
import { createInstrumenter, RawSourceMap } from "istanbul-lib-instrument";
import * as loaderUtils from "loader-utils";
Expand Down Expand Up @@ -61,7 +60,8 @@ function getInlineSourceMap(this: loader.LoaderContext, source: string): RawSour
// Exception is thrown by fromMapFileSource when there is no source map file
if (e instanceof Error && e.message.includes("An error occurred while trying to read the map file at")) {
this.emitWarning(e);
} else {
}
else {
throw e;
}
}
Expand Down

0 comments on commit 2257435

Please sign in to comment.