From f42cf9af89d6745b158f177df80d24cd9abfefcb Mon Sep 17 00:00:00 2001 From: Aaron Munger Date: Mon, 31 Jul 2023 14:32:20 -0700 Subject: [PATCH] fix comment --- src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts b/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts index 632cb1b5e7a..31f3a7262b3 100644 --- a/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts +++ b/src/vs/workbench/contrib/notebook/common/notebookEditorInput.ts @@ -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