1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-10 06:16:12 +02:00

fix: parsefile nolint errcheck

This commit is contained in:
tympanix 2018-04-10 01:32:55 +02:00
parent 184ddc2cad
commit b94bf26a5b

View File

@ -51,7 +51,7 @@ func ParseFile(path string) (config Config, err error) {
if err != nil {
return
}
defer file.Close()
defer file.Close() // nolint: errcheck
return Parse(file)
}