Skip to content

Commit

Permalink
Don't save twice
Browse files Browse the repository at this point in the history
  • Loading branch information
kenneth-marut-work committed Mar 6, 2023
1 parent c32db85 commit 32ca0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolbar/src/browser/toolbar-storage-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export class ToolbarStorageProvider implements Disposable {
forceMoveMarkers: false,
});
}
await this.monacoWorkspace.applyBackgroundEdit(this.model, editOperations);
await this.monacoWorkspace.applyBackgroundEdit(this.model, editOperations, false);
await this.model.save();
return true;
} catch (e) {
Expand Down

0 comments on commit 32ca0db

Please sign in to comment.