Skip to content

Commit

Permalink
Update src/vs/workbench/contrib/terminalContrib/suggest/browser/termi…
Browse files Browse the repository at this point in the history
…nalCompletionService.ts
  • Loading branch information
meganrogge authored Feb 3, 2025
1 parent 9f73136 commit b9e1f52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export class TerminalCompletionService extends Disposable implements ITerminalCo
let kind: TerminalCompletionItemKind | undefined;
if (foldersRequested && stat.isDirectory) {
kind = TerminalCompletionItemKind.Folder;
} else if (filesRequested) {
} else if (filesRequested && stat.isFile) {
kind = TerminalCompletionItemKind.File;
}
if (kind === undefined) {
Expand Down

0 comments on commit b9e1f52

Please sign in to comment.