mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
Support downloading repo contents for all github authorities (#185707)
For #175972 Previously this was broken for `github%2b...` style authorities
This commit is contained in:
@@ -108,7 +108,7 @@ async function preload(logger: Logger): Promise<void> {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user