1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
This commit is contained in:
Carlos Alexandro Becker 2016-12-31 13:20:22 -02:00
parent 51e0eff8f6
commit 94dcb70ca1
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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")
}