Repository navigation
Fix for early use of threadPrintErr - #16166
Conversation
707d61e to
69fcd16
Compare
Followup to #16161 such that printing works before the module is loaded. This function depends on `ENVIRONMENT_IS_NODE` and `fs` which were previously not defined until the main module was loaded.
69fcd16 to
870c2ac
Compare
In what manner? |
|
In #16161 I used In order to make sure that The added log message in the PR fails without this change. |
|
The |
kripken
left a comment
There was a problem hiding this comment.
I see, thanks, I missed that recent change.
No need to split out that other part, looks trivial and correct.
threadPrintErrthreadPrintErr
Followup to #16161 such that printing works before the module is loaded.
This function depends on
ENVIRONMENT_IS_NODEandfswhich werepreviously not defined until the main module was loaded.