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 1, 2024
1 parent e2b7e41 commit 00c0644
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 00c0644

Please sign in to comment.