Skip to content

Commit

Permalink
disable notebook version check for now, #105624
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Sep 1, 2020
1 parent c3c933a commit f3023ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export class BulkCellEdits {
const ref = await this._notebookModelService.resolve(first.resource);

// check state
if (typeof first.versionId === 'number' && ref.object.notebook.versionId !== first.versionId) {
ref.dispose();
throw new Error(`Notebook '${first.resource}' has changed in the meantime`);
}
// if (typeof first.versionId === 'number' && ref.object.notebook.versionId !== first.versionId) {
// ref.dispose();
// throw new Error(`Notebook '${first.resource}' has changed in the meantime`);
// }

// apply edits
const cellEdits = group.map(edit => edit.cellEdit);
Expand Down

0 comments on commit f3023ca

Please sign in to comment.