parent
ecd319f629
commit
44b7876f7a
14
main.go
14
main.go
@ -96,15 +96,19 @@ func main() {
|
||||
return fmt.Errorf("error copying %s (%d bytes written): %v", relativeParh, written, err)
|
||||
}
|
||||
|
||||
if err := mwriter.Close(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
githubactions.Fatalf("Unable to create request body : %v", fmt.Errorf("%w", err))
|
||||
githubactions.Fatalf("Unable to create request body: %v", fmt.Errorf("%w", err))
|
||||
}
|
||||
|
||||
if err := mwriter.Close(); err != nil {
|
||||
githubactions.Fatalf("Unable to close multipart writer: %v", fmt.Errorf("%w", err))
|
||||
}
|
||||
|
||||
if err := writer.Close(); err != nil {
|
||||
githubactions.Fatalf("Unable to close writer: %v", fmt.Errorf("%w", err))
|
||||
}
|
||||
}()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user