mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
undo carbon edit (#15216)
This commit is contained in:
@@ -10,7 +10,6 @@ import { Command } from '../commandManager';
|
||||
import { MarkdownEngine } from '../markdownEngine';
|
||||
import { TableOfContentsProvider } from '../tableOfContentsProvider';
|
||||
import { isMarkdownFile } from '../util/file';
|
||||
import { isString } from 'util'; // {{SQL CARBON EDIT}}
|
||||
|
||||
|
||||
type UriComponents = {
|
||||
@@ -154,7 +153,7 @@ export class OpenDocumentLinkCommand implements Command {
|
||||
}
|
||||
|
||||
function reviveUri(parts: any) {
|
||||
if (parts.scheme === 'file' && isString(parts.path)) { // {{SQL CARBON EDIT}} Fix markdown relative links https://github.com/microsoft/azuredatastudio/issues/11657
|
||||
if (parts.scheme === 'file') {
|
||||
return vscode.Uri.file(parts.path);
|
||||
}
|
||||
return vscode.Uri.parse('').with(parts);
|
||||
|
||||
Reference in New Issue
Block a user