Skip to content

Commit

Permalink
Close temporary file (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesTech authored Jan 20, 2024
1 parent c8624b2 commit 58e9a18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/appstore/appstore_replicate_sinf.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func (t *appstore) ReplicateSinf(input ReplicateSinfInput) error {

zipReader.Close()
zipWriter.Close()
tmpFile.Close()

err = t.os.Remove(input.PackagePath)
if err != nil {
Expand Down

0 comments on commit 58e9a18

Please sign in to comment.