We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88236a4 commit b1c2a85Copy full SHA for b1c2a85
src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.ts
@@ -993,7 +993,7 @@ export class BackLayerWebView<T extends ICommonCellInfo> extends Themable {
993
} else if (href.startsWith('~')) {
994
const userHome = await this.pathService.userHome();
995
if (userHome) {
996
- linkToOpen = userHome.with({ path: osPath.join(userHome.path, href.substring(1)) });
+ linkToOpen = URI.joinPath(userHome, href.substring(2));
997
}
998
} else {
999
if (this.documentUri.scheme === Schemas.untitled) {
0 commit comments