diff options
Diffstat (limited to 'extensions/markdown-language-features/src/util/openDocumentLink.ts')
-rw-r--r-- | extensions/markdown-language-features/src/util/openDocumentLink.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/markdown-language-features/src/util/openDocumentLink.ts b/extensions/markdown-language-features/src/util/openDocumentLink.ts index 18b8e5f4c79..376fe548ec4 100644 --- a/extensions/markdown-language-features/src/util/openDocumentLink.ts +++ b/extensions/markdown-language-features/src/util/openDocumentLink.ts @@ -22,7 +22,7 @@ enum OpenMarkdownLinks { } export function resolveDocumentLink(href: string, markdownFile: vscode.Uri): vscode.Uri { - let [hrefPath, fragment] = href.split('#').map(c => decodeURIComponent(c)); + const [hrefPath, fragment] = href.split('#').map(c => decodeURIComponent(c)); if (hrefPath[0] === '/') { // Absolute path. Try to resolve relative to the workspace |