diff --git a/internal/utils/files.go b/internal/utils/files.go index 2583d11b..1cb849b0 100644 --- a/internal/utils/files.go +++ b/internal/utils/files.go @@ -38,6 +38,7 @@ func FileReadAll(path string) ([]byte, error) { if err != nil { return nil, err } + CheckError(fmt.Sprintf("close %s", file.Name()), file.Close()) return data, nil }