diff --git a/src/vs/workbench/contrib/files/browser/fileCommands.ts b/src/vs/workbench/contrib/files/browser/fileCommands.ts index 1311bd1839b..c17a5b80692 100644 --- a/src/vs/workbench/contrib/files/browser/fileCommands.ts +++ b/src/vs/workbench/contrib/files/browser/fileCommands.ts @@ -204,8 +204,8 @@ CommandsRegistry.registerCommand({ if (resources.length === 2) { return editorService.openEditor({ - original: { resource: resources[1] }, - modified: { resource: resources[0] }, + original: { resource: resources[0] }, + modified: { resource: resources[1] }, options: { pinned: true } }); }