Skip to content

Revert "lib: print to stdout/stderr directly instead of using console"

This reverts commit 2b24ffae.

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

I've no idea how to test this as piping the output suppresses the ANSI escape sequences.

cc @joyeecheung

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

Merge request reports

Loading