Skip to content

Commit

Permalink
Fix - tarball URL trailing slash
Browse files Browse the repository at this point in the history
Fixed the tarball URL trailing slash which was causing Frozen-Dep checks
to fail.
  • Loading branch information
naveensrinivasan committed Feb 2, 2021
1 parent 038e3b6 commit 0d77d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/frozen_deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func FrozenDeps(c checker.Checker) checker.CheckResult {
return checker.RetryResult(err)
}
url := r.GetArchiveURL()
url = strings.Replace(url, "{archive_format}", "tarball", 1)
url = strings.Replace(url, "{archive_format}", "tarball/", 1)
url = strings.Replace(url, "{/ref}", r.GetDefaultBranch(), 1)

// Download
Expand Down

0 comments on commit 0d77d89

Please sign in to comment.