Skip to content

Commit

Permalink
Don't forget to check your errors, folks.
Browse files Browse the repository at this point in the history
  • Loading branch information
dayvonjersen committed Oct 29, 2017
1 parent 115d889 commit 1c8e72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/vibrant/vibrant.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func main() {

img, _, err = image.Decode(f)
f.Close()
checkErr(err)
}
checkErr(err)

palette, err := vibrant.NewPaletteFromImage(img)
checkErr(err)
Expand Down

0 comments on commit 1c8e72e

Please sign in to comment.