diff --git a/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts b/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts index 6bde555781b02..3a6e5a81a734f 100644 --- a/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts +++ b/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts @@ -252,7 +252,7 @@ class FormatOnSaveParticipant implements ITextFileSaveParticipant { // keeping things DRY :) const formatWholeFile = async () => { await this.instantiationService.invokeFunction(formatDocumentWithSelectedProvider, editorOrModel, FormattingMode.Silent, nestedProgress, token); - } + }; if (mode === 'modifications' || mode === 'modificationsIfAvailable') { // try formatting modifications