Possible fix for #115918

This commit is contained in:
Rachel Macfarlane 2021-02-22 15:44:24 -08:00
parent a1f638e838
commit 6a6b9a5cc8

View file

@ -160,7 +160,7 @@ export class GitHubServer {
}
try {
const uri = vscode.Uri.parse(uriOrToken);
const uri = vscode.Uri.parse(uriOrToken.trim());
if (!uri.scheme || uri.scheme === 'file') { throw new Error; }
uriHandler.handleUri(uri);
} catch (e) {