mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
fix: cleaning up artifactory
This commit is contained in:
parent
ab5e431b95
commit
9ac3b8cf79
@ -333,10 +333,6 @@ type Error struct {
|
||||
Message string `json:"message"` // Message describing the error.
|
||||
}
|
||||
|
||||
func (e *Error) Error() string {
|
||||
return fmt.Sprintf("%v (%v)", e.Message, e.Status)
|
||||
}
|
||||
|
||||
// checkResponse checks the API response for errors, and returns them if
|
||||
// present. A response is considered an error if it has a status code outside
|
||||
// the 200 range.
|
||||
|
Loading…
Reference in New Issue
Block a user