Remove extra call to with

This commit is contained in:
Matt Bierner
2021-05-21 11:45:00 -07:00
parent 82d18a42fa
commit 97bbacd808

View File

@@ -270,10 +270,9 @@ export class MarkdownEngine {
const root = vscode.workspace.getWorkspaceFolder(this.currentDocument!);
if (root) {
uri = vscode.Uri.joinPath(root.uri, uri.fsPath).with({
scheme: 'markdown-link',
fragment: uri.fragment,
query: uri.query,
}).with({
scheme: 'markdown-link'
});
}
}