mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
fix: do not wrap err if its nil
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
cca25688d0
commit
7661587a9e
@ -171,5 +171,8 @@ func (c *githubClient) Upload(
|
||||
if resp.StatusCode == 422 {
|
||||
return err
|
||||
}
|
||||
return RetriableError{err}
|
||||
if err != nil {
|
||||
return RetriableError{err}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user