1
0
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:
Carlos Alexandro Becker 2019-08-02 18:20:59 -03:00 committed by GitHub
parent a10c5525bc
commit 7cab12cf74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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