aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/javascript.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/javascript.ts')
-rw-r--r--src/commands/dev/javascript.ts12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/commands/dev/javascript.ts b/src/commands/dev/javascript.ts
index a5f90cb..8c5dcb4 100644
--- a/src/commands/dev/javascript.ts
+++ b/src/commands/dev/javascript.ts
@@ -17,8 +17,7 @@ export default class JavascriptCommand extends BushCommand {
match: 'rest',
prompt: 'What code would you like to run in a sand boxed environment?',
retry: '{error} Invalid code to run in a sand boxed environment.',
- slashType: 'STRING',
- only: 'slash'
+ slashType: 'STRING'
},
{
id: 'sel_depth',
@@ -30,15 +29,6 @@ export default class JavascriptCommand extends BushCommand {
prompt: 'How deep would you like to inspect the output?',
slashType: 'INTEGER',
optional: true
- },
- {
- id: 'code',
- description: 'The code you would like to run in a sand boxed environment.',
- match: 'rest',
- prompt: 'What code would you like to run in a sand boxed environment?',
- retry: '{error} Invalid code to run in a sand boxed environment.',
- slashType: 'STRING',
- only: 'text'
}
],
slash: true,