Skip to content

Commit

Permalink
Fix error message (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
gauntface authored Dec 12, 2024
1 parent a359462 commit 57f27b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/genimgs/genimgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ func createAvifImage(img generateImage) error {
cmd := exec.Command("npx", "avif", "--input", tmpPath, "--output", outputDir, "--overwrite")
output, err := cmd.CombinedOutput()
if err != nil {
fmt.Printf("Failed to run npx avif: %v\n", output)
fmt.Printf("Failed to run npx avif: %v\n", string(output[:]))
return fmt.Errorf("npx avif failed: %w", err)
}
return nil
Expand Down

0 comments on commit 57f27b0

Please sign in to comment.