Skip to content

Commit

Permalink
Update internal/releasesjson/downloader.go
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored May 8, 2024
1 parent c607da5 commit 65b06ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/releasesjson/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ func (d *Downloader) DownloadAndUnpack(ctx context.Context, pv *ProductVersion,
archiveURL := pb.URL
if d.BaseURL != "" {
// If custom URL is set, use that instead of the one from the JSON.
// Also ensures that absolute download links from mocked responses are still pointing to the mock server if one is set.
// Also ensures that absolute download links from mocked responses
// are still pointing to the mock server if one is set.
baseURL, err := url.Parse(d.BaseURL)
if err != nil {
return "", err
Expand Down

0 comments on commit 65b06ce

Please sign in to comment.