mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
Fix missing function calls in condition
This commit is contained in:
parent
9f90a1d69c
commit
2b4638e1ac
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue