Skip to content

Commit

Permalink
Fix: do not delete partially applied edit sessions (#155218)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceerhl authored and jrieken committed Jul 18, 2022
1 parent 64ff727 commit 263fbe2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
const folderRoot = this.contextService.getWorkspace().folders.find((f) => f.name === folder.name);
if (!folderRoot) {
this.logService.info(`Skipping applying ${folder.workingChanges.length} changes from edit session with ref ${ref} as no corresponding workspace folder named ${folder.name} is currently open.`);
continue;
return;
}

for (const repository of this.scmService.repositories) {
Expand Down

0 comments on commit 263fbe2

Please sign in to comment.