diff --git a/config/config.go b/config/config.go index 96e12b33f..ca1c87125 100644 --- a/config/config.go +++ b/config/config.go @@ -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") }