Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yanecc committed May 5, 2024
1 parent e0f3f12 commit ca6a251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func (b *Sdk) Download(u *url.URL, headers map[string]string) (string, error) {

fileName := filepath.Base(u.Path)
if !strings.Contains(fileName, ".") && u.Fragment != "" {
fileName = strings.Trim(u.Fragment, "#/")
fileName = strings.Trim(u.Fragment, "/")
}
path := filepath.Join(b.InstallPath, fileName)

Expand Down

0 comments on commit ca6a251

Please sign in to comment.