Skip to content

Commit e551da0

Browse files
committed
chore: stringify URI explicitly
1 parent 8521834 commit e551da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docsHoverProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class DocsHoverProvider implements vscode.HoverProvider {
2121
const commandText = "Copy URL Fragment to Clipboard";
2222
content.appendMarkdown(`$(link) #${urlFragment}\r\n\r\n`);
2323
content.appendMarkdown(
24-
`[${commandText}](${commandUri} "${commandText}")`,
24+
`[${commandText}](${commandUri.toString()} "${commandText}")`,
2525
);
2626

2727
return new vscode.Hover(content, line.range);

0 commit comments

Comments
 (0)