aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-24 15:34:11 +0000
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-24 15:34:11 +0000
commita1192e580ead59f5ff124987d08fb44d00f76c27 (patch)
tree50c7eccb797ee17fe7db282293c55ab3ee41c42d /src/commands
parentb95f4e00566dc4b99527f6771d56a5e557779e66 (diff)
downloadtanzanite-a1192e580ead59f5ff124987d08fb44d00f76c27.tar.gz
tanzanite-a1192e580ead59f5ff124987d08fb44d00f76c27.tar.bz2
tanzanite-a1192e580ead59f5ff124987d08fb44d00f76c27.zip
fix(EvalCommand): show transpiled code
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/dev/eval.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index fe8703e..a6221c9 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -255,7 +255,7 @@ export default class EvalCommand extends BushCommand {
embed.setTimestamp();
if (inputTS) embed.addField({ name: ':inbox_tray: Input (typescript)', value: inputTS });
- else embed.addField({ name: `:inbox_tray: Input${inputTS ? ' (transpiled javascript)' : ''}`, value: inputJS });
+ embed.addField({ name: `:inbox_tray: Input${inputTS ? ' (transpiled javascript)' : ''}`, value: inputJS });
const output = await this.codeblock(rawResult, 'js', {
depth: selDepth ?? 0,