Skip to content

Commit 2d84f45

Browse files
cjihrigtargos
authored andcommitted
esm: remove unused catch bindings
PR-URL: #24079 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Wyatt Preul <[email protected]>
1 parent 1f3cb63 commit 2d84f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/loader.js

+1-1
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)