Skip to content

Commit 57f27b0

Browse files
authored
Fix error message (#579)
1 parent a359462 commit 57f27b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cmds/genimgs/genimgs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ func createAvifImage(img generateImage) error {
551551
cmd := exec.Command("npx", "avif", "--input", tmpPath, "--output", outputDir, "--overwrite")
552552
output, err := cmd.CombinedOutput()
553553
if err != nil {
554-
fmt.Printf("Failed to run npx avif: %v\n", output)
554+
fmt.Printf("Failed to run npx avif: %v\n", string(output[:]))
555555
return fmt.Errorf("npx avif failed: %w", err)
556556
}
557557
return nil

0 commit comments

Comments
 (0)