mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-05 01:25:38 -05:00
Merge from vscode 2cd495805cf99b31b6926f08ff4348124b2cf73d
This commit is contained in:
committed by
AzureDataStudio
parent
a8a7559229
commit
1388493cc1
@@ -62,12 +62,12 @@ export class BrowserEnvironmentConfiguration implements IEnvironmentConfiguratio
|
||||
@memoize
|
||||
get filesToDiff(): IPath[] | undefined {
|
||||
if (this.payload) {
|
||||
const fileToDiffDetail = this.payload.get('diffFileDetail');
|
||||
const fileToDiffMaster = this.payload.get('diffFileMaster');
|
||||
if (fileToDiffDetail && fileToDiffMaster) {
|
||||
const fileToDiffPrimary = this.payload.get('diffFilePrimary');
|
||||
const fileToDiffSecondary = this.payload.get('diffFileSecondary');
|
||||
if (fileToDiffPrimary && fileToDiffSecondary) {
|
||||
return [
|
||||
{ fileUri: URI.parse(fileToDiffDetail) },
|
||||
{ fileUri: URI.parse(fileToDiffMaster) }
|
||||
{ fileUri: URI.parse(fileToDiffSecondary) },
|
||||
{ fileUri: URI.parse(fileToDiffPrimary) }
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user