mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-06 03:13:48 +02:00
typo
This commit is contained in:
parent
51e0eff8f6
commit
94dcb70ca1
@ -62,10 +62,10 @@ func Load(file string) (config ProjectConfig, err error) {
|
||||
if err := config.fillGitData(); err != nil {
|
||||
return config, err
|
||||
}
|
||||
return config, config.validade()
|
||||
return config, config.validate()
|
||||
}
|
||||
|
||||
func (config *ProjectConfig) validade() (err error) {
|
||||
func (config *ProjectConfig) validate() (err error) {
|
||||
if config.BinaryName == "" {
|
||||
return errors.New("missing binary_name")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user