aboutsummaryrefslogtreecommitdiff
path: root/src/listeners
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-19 15:50:05 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-19 15:50:05 -0400
commitc6e0b564bf742ff772a24fd8c0c8d37acccce80e (patch)
treeab60f7ff22598ba70331a9686ec13b64a6abfaa0 /src/listeners
parent98477a07a4a225e2a36cbe6c2c2cefd1d3c0a82e (diff)
downloadtanzanite-c6e0b564bf742ff772a24fd8c0c8d37acccce80e.tar.gz
tanzanite-c6e0b564bf742ff772a24fd8c0c8d37acccce80e.tar.bz2
tanzanite-c6e0b564bf742ff772a24fd8c0c8d37acccce80e.zip
some minor fixes
Diffstat (limited to 'src/listeners')
-rw-r--r--src/listeners/other/consoleListener.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/other/consoleListener.ts b/src/listeners/other/consoleListener.ts
index 0954fb4..6092f05 100644
--- a/src/listeners/other/consoleListener.ts
+++ b/src/listeners/other/consoleListener.ts
@@ -47,8 +47,8 @@ export default class ConsoleListener extends BushListener {
getters: true,
maxArrayLength: Infinity,
maxStringLength: Infinity,
- depth: depth ?? 2,
- hidden: hidden
+ depth: +(depth ?? 2),
+ showHidden: hidden
});
} catch (e) {
console.error(e);