1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-11 11:42:15 +02:00

fix: warning when no config file could be found (#948)

This commit is contained in:
Peter Götz 2019-02-01 17:09:23 +01:00 committed by Carlos Alexandro Becker
parent 84fb7e4a08
commit 3387ffeada

View File

@ -159,8 +159,8 @@ func loadConfig(path string) (config.Project, error) {
}
return proj, err
}
// the user didn't specified a config file and the known possible file names
// the user didn't specify a config file and the known possible file names
// don't exist, so, return an empty config and a nil err.
log.Warn("could find a config file, using defaults...")
log.Warn("could not find a config file, using defaults...")
return config.Project{}, nil
}