Skip to content

Commit 8d39b16

Browse files
committed
fix too many unresolved root issue
1 parent b7d1f3c commit 8d39b16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/files/common/explorerModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class FileStat implements IFileStat {
116116
}
117117

118118
public get nonexistentRoot(): boolean {
119-
return this.isRoot && !this.isDirectoryResolved;
119+
return this.isRoot && !this.isDirectoryResolved && this.isDirectory;
120120
}
121121

122122
public getId(): string {

0 commit comments

Comments
 (0)