Skip to content

Commit

Permalink
Instantiate the returned FileSystem object for the frontend binding
Browse files Browse the repository at this point in the history
Fixes issue #8497

Signed-off-by: Samuel HULTGREN <[email protected]>
  • Loading branch information
slhultgren authored and vince-fugnitto committed Sep 24, 2020
1 parent c35fcb9 commit 04c229b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## v1.6.0

- [core] added functionality for handling context menu for `tab-bars` without activating the shell tab-bar [#6965](https://github.com/eclipse-theia/theia/pull/6965)
- [filesystem] fixed issue for the deprecated `FileSystem` where the incorrect thing was injected [#8507](https://github.com/eclipse-theia/theia/pull/8507)

<a name="breaking_changes_1.6.0">[Breaking Changes:](#breaking_changes_1.6.0)</a>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default new ContainerModule(bind => {
}
throw error;
};
return class implements FileSystem {
return new class implements FileSystem {
async getFileStat(uri: string): Promise<FileStat | undefined> {
try {
const stat = await fileService.resolve(new URI(uri), { resolveMetadata: true });
Expand Down

0 comments on commit 04c229b

Please sign in to comment.