File tree Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Expand file tree Collapse file tree 1 file changed +16
-18
lines changed Original file line number Diff line number Diff line change @@ -91,24 +91,22 @@ export function menu({
91
91
if ( ! isEnabled ) return ;
92
92
}
93
93
94
- if ( ! commandString . length ) {
95
- const selectedCommands = await commandPrompt ( {
96
- title,
97
- titleColors,
98
- message,
99
- showDescriptions,
100
- maxDescriptionLength,
101
- client : context . client ,
102
- commandsDir,
103
- resolveFn : ( { commandString, commandsDir } ) =>
104
- context . resolveCommand ( commandString , commandsDir ) ,
105
- onCancel : async ( ) => {
106
- await context . exit ( ) ;
107
- } ,
108
- } ) ;
109
- addResolvedCommands ( selectedCommands ) ;
110
- skip ( ) ;
111
- }
94
+ const selectedCommands = await commandPrompt ( {
95
+ title,
96
+ titleColors,
97
+ message,
98
+ showDescriptions,
99
+ maxDescriptionLength,
100
+ client : context . client ,
101
+ commandsDir,
102
+ resolveFn : ( { commandString, commandsDir } ) =>
103
+ context . resolveCommand ( commandString , commandsDir ) ,
104
+ onCancel : async ( ) => {
105
+ await context . exit ( ) ;
106
+ } ,
107
+ } ) ;
108
+ addResolvedCommands ( selectedCommands ) ;
109
+ skip ( ) ;
112
110
} ,
113
111
) ;
114
112
You can’t perform that action at this time.
0 commit comments