-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
benchmark: fix misc/startup failure #42442
Conversation
I would hold off on landing this because whether or not we are keeping |
Yea, I think it's probably fine to merge. Sorry for the hold up. |
for (const key of canBeRequired) { | ||
for (let key of canBeRequired) { | ||
if (modulesNeedingPrefix.includes(key)) | ||
key = `node:${key}`; | ||
require(key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason not to use the prefix for all modules?
require(key); | |
require(`node:${key}`); |
Closing because #42746 has landed, and fixes the issue. Please re-open if I'm mistaken. |
Fixes: #42437
It's not the ideal fix as it's duplicating a list/Set that already exists in the internals but 🤷♂️