Skip to content

Commit e1730b2

Browse files
committed
1 parent 3b395e2 commit e1730b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/workbench/contrib/editSessions/browser/editSessions.contribution.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,9 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
398398

399399
try {
400400
const { changes, conflictingChanges } = await this.generateChanges(editSession, ref);
401+
if (changes.length === 0) {
402+
return;
403+
}
401404

402405
// TODO@joyceerhl Provide the option to diff files which would be overwritten by edit session contents
403406
if (conflictingChanges.length > 0) {

0 commit comments

Comments
 (0)