mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-13 11:50:34 +02:00
fix: fd leak on gomod pipe (#2188)
Signed-off-by: Carlos Becker <caarlos0@gmail.com>
This commit is contained in:
parent
48e8d83dad
commit
f72e6399da
@ -183,6 +183,7 @@ func copyGoSum(src, dst string) error {
|
||||
}
|
||||
return err
|
||||
}
|
||||
defer r.Close()
|
||||
|
||||
w, err := os.Create(dst)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user