mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-15 11:56:56 +02:00
fix: warning when no config file could be found (#948)
This commit is contained in:
parent
84fb7e4a08
commit
3387ffeada
4
main.go
4
main.go
@ -159,8 +159,8 @@ func loadConfig(path string) (config.Project, error) {
|
|||||||
}
|
}
|
||||||
return proj, err
|
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.
|
// 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
|
return config.Project{}, nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user