feat: stylize
This commit is contained in:
parent
a61efe0388
commit
ca55ef1c99
1 changed files with 8 additions and 1 deletions
9
vm.js
9
vm.js
|
@ -66,7 +66,14 @@ parentPort.on('message', (msg) => {
|
||||||
nbt,
|
nbt,
|
||||||
net,
|
net,
|
||||||
axios,
|
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
|
||||||
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue