mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
fix: close config file (#1099)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
parent
a10c5525bc
commit
7cab12cf74
@ -379,6 +379,7 @@ func Load(file string) (config Project, err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
defer f.Close()
|
||||
log.WithField("file", file).Info("loading config file")
|
||||
return LoadReader(f)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user