Skip to content

Commit

Permalink
module: remove outdated comment
Browse files Browse the repository at this point in the history
Refs: #53822
PR-URL: #54118
Reviewed-By: Juan José Arboleda <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
targos committed Aug 14, 2024
1 parent 2a6a12e commit 13cc480
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/modules/esm/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,6 @@ function defaultResolve(specifier, context = {}) {
}
}

// This must come after checkIfDisallowedImport
protocol ??= parsed?.protocol;
if (protocol === 'node:') { return { __proto__: null, url: specifier }; }

Expand Down

0 comments on commit 13cc480

Please sign in to comment.