lib: enhance use of Error from primordials#31163
lib: enhance use of Error from primordials#31163Sebastien-Ahkrin wants to merge 1 commit intonodejs:masterfrom
Conversation
|
Refs: #30697 |
|
Does this have any impact on |
No, the object is the same as the global one. |
|
This PR is errored with the JS test suite in the "parallel/test-tick-processor-arguments" test ... i can reproduce the error now in my computer . i will investigate 😄 |
2b5695f to
9c1d309
Compare
@targos found the error 😄 so its only because the file v8-prof-polyfill can't contain any primordials. /* eslint-disable no-restricted-globals */I hope this will help you :) |
PR-URL: nodejs#31163 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
|
Landed in c9b93e2 |
PR-URL: #31163 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #31163 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #31163 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Hello,
Now, in this PR I have added Error in the primordials eslint
so have created a line in "/lib/.eslintrc.yaml".
And just import Error :).
I hope this new PR will help you :x