Skip to content

Commit

Permalink
esm: remove unused catch bindings
Browse files Browse the repository at this point in the history
PR-URL: #24079
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Wyatt Preul <[email protected]>
  • Loading branch information
cjihrig authored and MylesBorins committed Dec 3, 2018
1 parent 0600e75 commit 1491f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/modules/esm/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Loader {
if (this._resolve !== defaultResolve) {
try {
new URL(url);
} catch (e) {
} catch {
throw new ERR_INVALID_RETURN_PROPERTY(
'url', 'loader resolve', 'url', url
);
Expand Down

0 comments on commit 1491f32

Please sign in to comment.