Skip to content

coverage: fix broken coverage setup

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/25287 into master

This PR replaces console.warn() and console.error() in coverage setup with process._rawDebug(), as console hasn't been properly bootstrapped at this point. This PR also prevents a problematic call to process.cwd(), which also hasn't been bootstrapped yet.

Fixes: https://github.com/nodejs/node/issues/25287

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading