Update isVSO check with new remote authority

This commit is contained in:
Rachel Macfarlane
2020-12-15 15:30:44 -08:00
parent af7edd782e
commit 9f27d99af0

View File

@@ -416,7 +416,7 @@ export class MainThreadAuthentication extends Disposable implements MainThreadAu
const remoteConnection = this.remoteAgentService.getConnection();
const isVSO = remoteConnection !== null
? remoteConnection.remoteAuthority.startsWith('vsonline')
? remoteConnection.remoteAuthority.startsWith('vsonline') || remoteConnection.remoteAuthority.startsWith('codespaces')
: isWeb;
if (isVSO && VSO_ALLOWED_EXTENSIONS.includes(extensionId)) {