上级 6f3488ba
......@@ -262,10 +262,10 @@ class FormatOnSaveParticipant implements ITextFileSaveParticipant {
await this.instantiationService.invokeFunction(formatDocumentRangesWithSelectedProvider, editorOrModel, ranges, FormattingMode.Silent, nestedProgress, token);
} else if (ranges === null) {
// version control not found
formatWholeFile();
await formatWholeFile();
}
} else {
formatWholeFile();
await formatWholeFile();
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册