mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Possible fix for #115918
This commit is contained in:
parent
a1f638e838
commit
6a6b9a5cc8
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue