| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
I would hold off on landing this because whether or not we are keeping node:test is under discussion in #42430. |
Sorry, something went wrong.
|
@cjihrig Since the discussion in #42430 seems to be (presumably) taking longer than expected, can we merge this in the meantime? It's no longer just affecting my daily benchmark runs, but now also PRs that need to run the benchmark. |
Sorry, something went wrong.
|
Yea, I think it's probably fine to merge. Sorry for the hold up. |
Sorry, something went wrong.
| for (let key of canBeRequired) { | ||
| if (modulesNeedingPrefix.includes(key)) | ||
| key = `node:${key}`; | ||
| require(key); |
There was a problem hiding this comment.
Any reason not to use the prefix for all modules?
| require(key); | |
| require(`node:${key}`); |
Sorry, something went wrong.
|
Closing because #42746 has landed, and fixes the issue. Please re-open if I'm mistaken. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes: #42437
It's not the ideal fix as it's duplicating a list/Set that already exists in the internals but 🤷♂️