diff options
| author | 2021-10-14 19:46:19 +0800 | |
|---|---|---|
| committer | 2021-10-14 13:46:19 +0200 | |
| commit | 36a695a44dc5416495b6e08bc22503f69b965630 (patch) | |
| tree | 2ce19ce780964748a94611ea7725133f9955c240 /source/features/deep-reblame.tsx | |
| parent | c0a51aeed9b1ae5b425bd52362986c49e38f3792 (diff) | |
| download | refined-github-36a695a44dc5416495b6e08bc22503f69b965630.tar.gz refined-github-36a695a44dc5416495b6e08bc22503f69b965630.tar.zst refined-github-36a695a44dc5416495b6e08bc22503f69b965630.zip | |
Lint (#4885)
Diffstat (limited to 'source/features/deep-reblame.tsx')
| -rw-r--r-- | source/features/deep-reblame.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/deep-reblame.tsx b/source/features/deep-reblame.tsx index f59e6dfd..bf5a82f7 100644 --- a/source/features/deep-reblame.tsx +++ b/source/features/deep-reblame.tsx @@ -73,7 +73,7 @@ async function redirectToBlameCommit(event: delegate.Event<MouseEvent, HTMLAncho try { blameUrl.branch = await getPullRequestBlameCommit(prCommit, prNumbers, blameUrl.filePath); blameUrl.hash = 'L' + select('.js-line-number', blameHunk)!.textContent!; - location.href = String(blameUrl); + location.href = blameUrl.href; } catch (error: unknown) { spinner.replaceWith(<VersionsIcon/>); alert((error as Error).message); |
