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 <soyjuanarbol@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
targos authored 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.