debt - simplify metadata edit because we now have CellEditType.DocumentMetadata

This commit is contained in:
Johannes Rieken
2020-09-10 11:47:45 +02:00
parent 533ca9bf07
commit 01f9355f65
8 changed files with 17 additions and 42 deletions

View File

@@ -277,7 +277,7 @@ export class ExtHostNotebookDocument extends Disposable {
const edit: IWorkspaceCellEditDto = {
_type: WorkspaceEditType.Cell,
metadata: undefined,
notebookMetadata: this._metadata,
edit: { editType: CellEditType.DocumentMetadata, metadata: this._metadata },
resource: this.uri,
notebookVersionId: this.notebookDocument.version,
};