mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Avoid double encoding vscode.dev links (#181002)
This commit is contained in:
parent
d6290ef658
commit
180f909fac
|
@ -17,7 +17,7 @@ async function copyVscodeDevLink(gitAPI: GitAPI, useSelection: boolean, context:
|
|||
try {
|
||||
const permalink = getLink(gitAPI, useSelection, getVscodeDevHost(), 'headlink', context, includeRange);
|
||||
if (permalink) {
|
||||
return vscode.env.clipboard.writeText(encodeURI(permalink));
|
||||
return vscode.env.clipboard.writeText(permalink);
|
||||
}
|
||||
} catch (err) {
|
||||
vscode.window.showErrorMessage(err.message);
|
||||
|
|
Loading…
Reference in a new issue