Skip to content

Commit 1491f32

Browse files
cjihrigMylesBorins
authored andcommitted
esm: remove unused catch bindings
PR-URL: #24079 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com>
1 parent 0600e75 commit 1491f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class Loader {
8080
if (this._resolve !== defaultResolve) {
8181
try {
8282
new URL(url);
83-
} catch (e) {
83+
} catch {
8484
throw new ERR_INVALID_RETURN_PROPERTY(
8585
'url', 'loader resolve', 'url', url
8686
);

0 commit comments

Comments
 (0)