fix comment

This commit is contained in:
Aaron Munger
2023-07-31 14:32:20 -07:00
committed by GitHub
parent 3178224749
commit f42cf9af89

View File

@@ -159,7 +159,7 @@ export class NotebookEditorInput extends AbstractResourceEditorInput {
override isSaving(): boolean {
const model = this._editorModelReference?.object;
if (!model || !model.isDirty() || model.hasErrorState || model.hasConflictState) {
return false; // require the model to be dirty and not in error of conflict state
return false; // require the model to be dirty and not in error or conflict state
}
// if a short auto save is configured, treat this as being saved