We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868a931 commit 1bf794aCopy full SHA for 1bf794a
extensions/terminal-suggest/src/terminalSuggestMain.ts
@@ -187,7 +187,7 @@ async function getCommandsInPath(): Promise<Set<string> | undefined> {
187
const files = await vscode.workspace.fs.readDirectory(vscode.Uri.file(path));
188
189
for (const [file, fileType] of files) {
190
- if (fileType === vscode.FileType.File || fileType === vscode.FileType.SymbolicLink) {
+ if (fileType !== vscode.FileType.Unknown && fileType !== vscode.FileType.Directory) {
191
executables.add(file);
192
}
193
0 commit comments