Skip to content

Commit

Permalink
Prefix path and trim slash
Browse files Browse the repository at this point in the history
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
  • Loading branch information
se35710 and niheaven committed Mar 8, 2022
1 parent 56fdec8 commit 146c6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/checkver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ $Queue | ForEach-Object {
}

if ($json.checkver.sourceforge.path) {
$url = $url + '?path=' + $json.checkver.sourceforge.path
$url = $url + '?path=/' + $json.checkver.sourceforge.path.TrimStart('/')
}

if ($json.checkver.re) {
Expand Down

0 comments on commit 146c6a4

Please sign in to comment.