Skip to content

util: implement %o as formatting specifier

Rodrigo Muino Tomonari requested to merge github/fork/gla5001/ga14545 into master

Implementing the %o and %O as formatting specifier for util.format. Based on discussion in issue, this specifier should just call util.inspect to format passed in value.

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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

util

Merge request reports

Loading