Skip to content

Commit 7233eff

Browse files
authored
merge editor - caller reverts (microsoft#153415)
1 parent 3aa87ad commit 7233eff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,7 @@ export class MergeEditorInput extends AbstractTextResourceEditorInput implements
224224
return ConfirmResult.SAVE;
225225
}
226226

227-
// don't save: revert model and no save
228-
console.assert(!isAnyAutoSave);
229-
this._outTextModel?.revert({ force: true });
227+
// don't save
230228
return ConfirmResult.DONT_SAVE;
231229
}
232230

0 commit comments

Comments
 (0)