aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/eval.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-11 19:28:20 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-06-11 19:28:20 -0400
commiteaf592b72eb5b1d66aa2bde5151a8947570a506c (patch)
tree4d956b1fc049480cc68db1f67972b4eb24c8c23d /src/commands/dev/eval.ts
parent4c6e3585a623e25ef2489032b84eb4c9a998dc9d (diff)
downloadtanzanite-eaf592b72eb5b1d66aa2bde5151a8947570a506c.tar.gz
tanzanite-eaf592b72eb5b1d66aa2bde5151a8947570a506c.tar.bz2
tanzanite-eaf592b72eb5b1d66aa2bde5151a8947570a506c.zip
remove excessive ansi formatting
Diffstat (limited to 'src/commands/dev/eval.ts')
-rw-r--r--src/commands/dev/eval.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index d4c9331..8af280d 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -263,12 +263,12 @@ export default class EvalCommand extends BushCommand {
if (inputTS) embed.addFields([{ name: ':inbox_tray: Input (typescript)', value: inputTS }]);
embed.addFields([{ name: `:inbox_tray: Input${inputTS ? ' (transpiled javascript)' : ''}`, value: inputJS }]);
- const output = await this.codeblock(rawResult, 'ansi', {
+ const output = await this.codeblock(rawResult, 'js', {
depth: selDepth ?? 0,
showHidden: hidden,
showProxy: true,
inspectStrings: !noInspectStrings,
- colors: true
+ colors: false
});
const methods = !err && showMethods ? await this.codeblock(rawResult, 'ts', { methods: true }) : undefined;