aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
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 83dd66f..7abb71c 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 || message) {
+ if (args.typescript ) {
code.ts = args.code;
code.js = transpile(args.code);
code.lang = 'ts';