mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
vscode.dev links should be head links (#179074)
This commit is contained in:
@@ -15,7 +15,7 @@ function getVscodeDevHost(): string {
|
||||
|
||||
async function copyVscodeDevLink(gitAPI: GitAPI, useSelection: boolean, context: LinkContext, includeRange = true) {
|
||||
try {
|
||||
const permalink = getLink(gitAPI, useSelection, getVscodeDevHost(), undefined, context, includeRange);
|
||||
const permalink = getLink(gitAPI, useSelection, getVscodeDevHost(), 'headlink', context, includeRange);
|
||||
if (permalink) {
|
||||
return vscode.env.clipboard.writeText(permalink);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user