From 00c0644747a185c657d93d4704cb14bd048d3e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 1 Aug 2024 12:41:00 +0200 Subject: [PATCH] module: remove outdated comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/53822 PR-URL: https://github.com/nodejs/node/pull/54118 Reviewed-By: Juan José Arboleda Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat --- 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 }; }