Skip to content

Commit 689519f

Browse files
author
RMacfarlane
committed
Add dev and ppe to VSO detection
1 parent ea819cd commit 689519f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/view/prsTreeDataProvider.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,10 @@ export class PullRequestsTreeDataProvider implements vscode.TreeDataProvider<Tre
107107
}
108108

109109
const callbackUri = await vscode.env.asExternalUri(vscode.Uri.parse(`${vscode.env.uriScheme}://vscode.github-authentication`));
110-
const isVSO = callbackUri.authority.endsWith('workspaces.github.com');
110+
const isVSO = callbackUri.authority.endsWith('workspaces.github.com')
111+
|| callbackUri.authority.endsWith('workspaces-dev.github.com')
112+
|| callbackUri.authority.endsWith('workspaces-ppe.github.com');
113+
111114
this._isVSO = isVSO;
112115
return isVSO;
113116
}

0 commit comments

Comments
 (0)