mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-15 03:42:15 +01:00
ci(lint): fix missing error handling
This commit is contained in:
@@ -477,6 +477,9 @@ func (ctx *Context) BuildOutputFile() (string, error) {
|
|||||||
}
|
}
|
||||||
return f
|
return f
|
||||||
}())
|
}())
|
||||||
|
if err != nil {
|
||||||
|
return "", fmt.Errorf("create files info: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
archivePath := ctx.GeneratePath(".zip")
|
archivePath := ctx.GeneratePath(".zip")
|
||||||
out, err := os.Create(archivePath)
|
out, err := os.Create(archivePath)
|
||||||
|
|||||||
Reference in New Issue
Block a user