Skip to content

Commit

Permalink
fix getSubDirectories() on IFileSystem (#10869)
Browse files Browse the repository at this point in the history
* fix getSubDirectories() on IFileSystem

* found the real issue
  • Loading branch information
David Kutugata authored Mar 31, 2020
1 parent 89e964f commit 69ac30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/serviceRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ class FakeVSCodeFileSystemAPI {
filetype |= FileType.Directory;
}
}
return [filename, filetype] as [string, FileType];
return [name, filetype] as [string, FileType];
})
.catch(() => [filename, FileType.Unknown] as [string, FileType])
.catch(() => [name, FileType.Unknown] as [string, FileType])
);
});
return Promise.all(promises);
Expand Down

0 comments on commit 69ac30d

Please sign in to comment.