Handle depth in all readDirectory implementations (#16646)

This commit is contained in:
Andy authored and GitHub committed 2017-06-29 11:04:33 -07:00
1 parent 8b7402f9f8
commit 179a3e10b5
18 files changed
+88 -76

No files matched your search

+2 -2
View File
@@ -216,8 +216,8 @@ namespace Utils {
}
}
readDirectory(path: string, extensions: string[], excludes: string[], includes: string[]) {
return ts.matchFiles(path, extensions, excludes, includes, this.useCaseSensitiveFileNames, this.currentDirectory, (path: string) => this.getAccessibleFileSystemEntries(path));
readDirectory(path: string, extensions: string[], excludes: string[], includes: string[], depth: number) {
return ts.matchFiles(path, extensions, excludes, includes, this.useCaseSensitiveFileNames, this.currentDirectory, depth, (path: string) => this.getAccessibleFileSystemEntries(path));
}
}
}