Skip to content

Commit b631dfc

Browse files
amiramwvince-fugnitto
authored andcommitted
Fix add missing await on workspace edits file create
Signed-off-by: Amiram Wingarten <amiram.wingarten@sap.com>
1 parent 63900b9 commit b631dfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/monaco/src/browser/monaco-workspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export class MonacoWorkspace implements lang.Workspace {
363363
totalFiles += 1;
364364
totalEdits += editOperations.length;
365365
} else if (CreateResourceEdit.is(edit) || DeleteResourceEdit.is(edit) || RenameResourceEdit.is(edit)) {
366-
this.performResourceEdit(edit);
366+
await this.performResourceEdit(edit);
367367
} else {
368368
throw new Error(`Unexpected edit type: ${JSON.stringify(edit)}`);
369369
}

0 commit comments

Comments
 (0)