Skip to content

Inspection functions on objects doesn't receive the inspect object (docs)

Rodrigo Muino Tomonari requested to merge github/fork/Alynva/patch-1 into master

Did not found where that method is called, but I did tested on v17.1.0 and it just receives 2 parameters:

> util.inspect(box);
Uncaught TypeError: inspect is not a function
    at Box.[nodejs.util.inspect.custom] (REPL22:17:19)
    at formatValue (node:internal/util/inspect:763:19)
    at Object.inspect (node:internal/util/inspect:340:10)

fixing commit message, following the guidelines...

Merge request reports

Loading