We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ae09fa commit ab7810eCopy full SHA for ab7810e
make.go
@@ -138,6 +138,9 @@ func (u *upstream) tarballFromHoster() error {
138
var tarURL string
139
repo := strings.TrimSuffix(u.rr.Repo, ".git")
140
repoU, err := url.Parse(repo)
141
+ if err != nil {
142
+ return err
143
+ }
144
145
switch repoU.Host {
146
case "github.com":
progress.go
@@ -15,8 +15,6 @@ const (
15
Mebi
16
Gibi
17
Tebi
18
- Pebi
19
- Exbi
20
)
21
22
func humanizeBytes(b int64) string {
0 commit comments