From 9f4483a834acc3421c24e1950324461474178042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 30 Jul 2024 12:12:59 +0200 Subject: [PATCH] module: remove outdated comment Refs: https://github.com/nodejs/node/pull/53822 --- lib/internal/modules/esm/resolve.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/modules/esm/resolve.js b/lib/internal/modules/esm/resolve.js index e18fbf65075773..1fbbb6773c9479 100644 --- a/lib/internal/modules/esm/resolve.js +++ b/lib/internal/modules/esm/resolve.js @@ -1015,7 +1015,6 @@ function defaultResolve(specifier, context = {}) { } } - // This must come after checkIfDisallowedImport protocol ??= parsed?.protocol; if (protocol === 'node:') { return { __proto__: null, url: specifier }; }