diff --git a/vm.js b/vm.js index b14e16c..88bd695 100644 --- a/vm.js +++ b/vm.js @@ -66,7 +66,14 @@ parentPort.on('message', (msg) => { nbt, net, axios, - inspect: (input, options) => util.inspect(input, { depth: options?.depth, customInspect: false }) + inspect: (input, options) => util.inspect( + input, + { + depth: options?.depth, + customInspect: false, + stylize: options?.stylize === true ? stylize : undefined + } + ) } })