Allow workspaceContains to specify directories (fixes #8295).

This commit is contained in:
Christian Alexander
2016-07-16 12:39:03 -07:00
parent 9342ea6c21
commit c474093b13
2 changed files with 8 additions and 1 deletions

View File

@@ -246,7 +246,7 @@ export class ExtensionHostMain {
return TPromise.join(
Object.keys(desiredFilesMap).map(
(fileName) => pfs.fileExistsWithResult(paths.join(folderPath, fileName), fileName)
(fileName) => pfs.existsWithResult(paths.join(folderPath, fileName), fileName)
)
).then((fileNames: string[]) => {
fileNames.forEach((existingFileName) => {