Fix missing function calls in condition

This commit is contained in:
Matt Bierner 2019-10-05 14:37:32 -07:00
parent 9f90a1d69c
commit 2b4638e1ac

View file

@ -75,9 +75,9 @@ const fileSystemProvider: FileSystemProvider = {
let type = FileType.Unknown;
if (stats.isFile()) {
type = FileType.File;
} else if (stats.isDirectory) {
} else if (stats.isDirectory()) {
type = FileType.Directory;
} else if (stats.isSymbolicLink) {
} else if (stats.isSymbolicLink()) {
type = FileType.SymbolicLink;
}