From cab916c57078eee7cd75b5852dd4e2d9893c8d94 Mon Sep 17 00:00:00 2001 From: kieferrm Date: Fri, 1 May 2020 04:37:15 +0000 Subject: [PATCH] fix remote authority check --- src/vs/workbench/api/browser/mainThreadAuthentication.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/api/browser/mainThreadAuthentication.ts b/src/vs/workbench/api/browser/mainThreadAuthentication.ts index fa222d10049..748216d2397 100644 --- a/src/vs/workbench/api/browser/mainThreadAuthentication.ts +++ b/src/vs/workbench/api/browser/mainThreadAuthentication.ts @@ -324,7 +324,7 @@ export class MainThreadAuthentication extends Disposable implements MainThreadAu } const remoteConnection = this.remoteAgentService.getConnection(); - if (remoteConnection && remoteConnection.remoteAuthority === 'vsonline' && VSO_ALLOWED_EXTENSIONS.includes(extensionId)) { + if (remoteConnection && remoteConnection.remoteAuthority.startsWith('vsonline') && VSO_ALLOWED_EXTENSIONS.includes(extensionId)) { return true; }