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 <samuel.hultgren@st.com>
  • Loading branch information
slhultgren committed Sep 15, 2020
1 parent b43a162 commit 17297bc
Showing 1 changed file with 1 addition and 1 deletion.
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 17297bc

Please sign in to comment.