diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 12:56:24 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-18 12:56:24 -0400 |
commit | a1c58b434c44b1acca0880306663023479789d30 (patch) | |
tree | 6b2a411e07cee3f58f86094ce420b85842ffb2fb /src/commands | |
parent | 6268d144a555bd33bcfd28bc4f924f35978f4209 (diff) | |
parent | 5ae6066371cc9b4c710c9ab8181a9af17591264f (diff) | |
download | tanzanite-a1c58b434c44b1acca0880306663023479789d30.tar.gz tanzanite-a1c58b434c44b1acca0880306663023479789d30.tar.bz2 tanzanite-a1c58b434c44b1acca0880306663023479789d30.zip |
Merge branch 'rewrite' of https://github.com/NotEnoughUpdates/bush-bot into rewrite
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/dev/eval.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index 449b8a2..38e142e 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -142,7 +142,7 @@ export default class EvalCommand extends BushCommand { const code: { js?: string | null; ts?: string | null; lang?: 'js' | 'ts' } = {}; args.code = args.code.replace(/[“”]/g, '"'); args.code = args.code.replace(/```*(?:js|ts)?/g, ''); - if (args.typescript ) { + if (args.typescript) { code.ts = args.code; code.js = transpile(args.code); code.lang = 'ts'; |