We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f34d48a commit 5c2f9ebCopy full SHA for 5c2f9eb
src/vs/workbench/services/host/browser/browserHostService.ts
@@ -307,7 +307,7 @@ export class BrowserHostService extends Disposable implements IHostService {
307
}
308
309
// Support diffMode
310
- if (options?.diffMode && fileOpenables.length === 2) {
+ else if (options?.diffMode && fileOpenables.length === 2) {
311
const editors = coalesce(await pathsToEditors(fileOpenables, this.fileService, this.logService));
312
if (editors.length !== 2 || !isResourceEditorInput(editors[0]) || !isResourceEditorInput(editors[1])) {
313
return; // invalid resources
0 commit comments