File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
extensions/terminal-suggest/src/fig Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ export async function getFigSuggestions(
83
83
: availableCommands . filter ( command => specLabel === ( command . definitionCommand ?? ( typeof command . label === 'string' ? command . label : command . label . label ) ) ) ) ;
84
84
if (
85
85
! ( osIsWindows ( )
86
- ? commandAndAliases . some ( e => currentCommand . startsWith ( removeAnyFileExtension ( ( typeof e . label === 'string' ? e . label : e . label . label ) ) ) )
87
- : commandAndAliases . some ( e => currentCommand . startsWith ( typeof e . label === 'string' ? e . label : e . label . label ) ) )
86
+ ? commandAndAliases . some ( e => currentCommand === ( removeAnyFileExtension ( ( typeof e . label === 'string' ? e . label : e . label . label ) ) ) )
87
+ : commandAndAliases . some ( e => currentCommand === ( typeof e . label === 'string' ? e . label : e . label . label ) ) )
88
88
) {
89
89
continue ;
90
90
}
You can’t perform that action at this time.
0 commit comments