Skip to content

Commit 6b42b81

Browse files
Address AI feedback
Signed-off-by: Lukasz Gryglicki <[email protected]> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent 13d04bf commit 6b42b81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cla-backend-go/v2/signatures/zip_builder.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ func (z *Zipper) buildPDFZip(claType string, claGroupID string) error {
153153
}()
154154
zipUpdated = writeFileToZip(writer, downloaderOutputChan)
155155
if listErr := <-listErrCh; listErr != nil {
156+
if cerr := writer.Close(); cerr != nil {
157+
log.Warnf("zip writer close failed: %v", cerr)
158+
}
156159
return listErr
157160
}
158161
if cerr := writer.Close(); cerr != nil {

0 commit comments

Comments
 (0)