Skip to content

lib: define printErr() in script string

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

This commit moves the printErr() function, used by the tick profiler processer, into the code string passed to vm.runInThisContext().

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

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

Merge request reports

Loading