diff --git a/extensions/typescript-language-features/src/extension.browser.ts b/extensions/typescript-language-features/src/extension.browser.ts index ee89e166510..7b5c15f1846 100644 --- a/extensions/typescript-language-features/src/extension.browser.ts +++ b/extensions/typescript-language-features/src/extension.browser.ts @@ -108,7 +108,7 @@ async function preload(logger: Logger): Promise { } const workspaceUri = vscode.workspace.workspaceFolders?.[0].uri; - if (!workspaceUri || workspaceUri.scheme !== 'vscode-vfs' || workspaceUri.authority !== 'github') { + if (!workspaceUri || workspaceUri.scheme !== 'vscode-vfs' || !workspaceUri.authority.startsWith('github')) { logger.info(`Skipped loading workspace contents for repository ${workspaceUri?.toString()}`); return; }