Skip to content

Commit 1eabca5

Browse files
authored
Support downloading repo contents for all github authorities (#185707)
For #175972 Previously this was broken for `github%2b...` style authorities
1 parent 3b8fd6e commit 1eabca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/typescript-language-features/src/extension.browser.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async function preload(logger: Logger): Promise<void> {
108108
}
109109

110110
const workspaceUri = vscode.workspace.workspaceFolders?.[0].uri;
111-
if (!workspaceUri || workspaceUri.scheme !== 'vscode-vfs' || workspaceUri.authority !== 'github') {
111+
if (!workspaceUri || workspaceUri.scheme !== 'vscode-vfs' || !workspaceUri.authority.startsWith('github')) {
112112
logger.info(`Skipped loading workspace contents for repository ${workspaceUri?.toString()}`);
113113
return;
114114
}

0 commit comments

Comments
 (0)