Commit 78f44f23 authored by Tomas Vik (OOO back on 2026-08-31)'s avatar Tomas Vik (OOO back on 2026-08-31) 🌴
Browse files

fix: generating file link on windows uses backslash

parent 6fb343c3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -68,7 +68,9 @@ async function getActiveFile() {
  }

  const branchName = await repository.getTrackingBranchName();
  const filePath = path.relative(repository.rootFsPath, editor.document.uri.fsPath);
  const filePath = path
    .relative(repository.rootFsPath, editor.document.uri.fsPath)
    .replace('\\', '/');
  const fileUrl = `${currentProject!.webUrl}/blob/${branchName}/${filePath}`;
  let anchor = '';