mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
esm: remove unused catch bindings
PR-URL: https://github.com/nodejs/node/pull/24079 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Wyatt Preul <wpreul@gmail.com>
This commit is contained in:
1 parent
1f3cb63da3
commit
2d84f45d22
1 file changed
+1
-1
@@ -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
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user