Skip to content

Commit 34eb0b3

Browse files
authored
fix: allow Continue On if edit session identity provider mutates edit session payload (microsoft#250057)
1 parent c9eb197 commit 34eb0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ export class EditSessionsContribution extends Disposable implements IWorkbenchCo
407407
// Open the URI
408408
that.logService.info(`Opening ${uri.toString()}`);
409409
await that.openerService.open(uri, { openExternal: true });
410-
} else if (!shouldStoreEditSession && uri !== 'noDestinationUri') {
410+
} else if ((!shouldStoreEditSession || ref === undefined) && uri !== 'noDestinationUri') {
411411
// Open the URI without an edit session ref
412412
that.logService.info(`Opening ${uri.toString()}`);
413413
await that.openerService.open(uri, { openExternal: true });

0 commit comments

Comments
 (0)