Skip to content

Commit

Permalink
module: remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Jul 30, 2024
1 parent 027710e commit 9f4483a
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 9f4483a

Please sign in to comment.