diff --git a/vm.js b/vm.js index 87f8d84..b14e16c 100644 --- a/vm.js +++ b/vm.js @@ -66,7 +66,7 @@ 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 }) } })