Fix for 151376

pull/151377/head
Rich Chiodo 2022-06-06 16:06:21 -07:00
parent 416eb0eb67
commit 2b71d11040
1 changed files with 2 additions and 0 deletions

View File

@ -807,6 +807,8 @@ export class WorkspaceEdit implements vscode.WorkspaceEdit {
if (NotebookEdit.isNotebookCellEdit(edit)) {
if (edit.newCellMetadata) {
this.replaceNotebookCellMetadata(uri, edit.range.start, edit.newCellMetadata);
} else if (edit.newNotebookMetadata) {
this.replaceNotebookMetadata(uri, edit.newNotebookMetadata);
} else {
this.replaceNotebookCells(uri, edit.range, edit.newCells);
}