Skip to content

Commit

Permalink
chore: stringify URI explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 committed Nov 11, 2024
1 parent 8521834 commit e551da0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docsHoverProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class DocsHoverProvider implements vscode.HoverProvider {
const commandText = "Copy URL Fragment to Clipboard";
content.appendMarkdown(`$(link) #${urlFragment}\r\n\r\n`);
content.appendMarkdown(
`[${commandText}](${commandUri} "${commandText}")`,
`[${commandText}](${commandUri.toString()} "${commandText}")`,
);

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

0 comments on commit e551da0

Please sign in to comment.