Skip to content

Commit

Permalink
chore: make lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Szzrain committed Apr 19, 2024
1 parent c94065a commit c3c3ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/image_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func ImageResolve(image []byte) (ImageFormat, Vector2, error) {
}

size := Vector2{}
format := Unknown
var format ImageFormat

switch {
case bytes.Equal(image[:6], []byte{0x47, 0x49, 0x46, 0x38, 0x39, 0x61}) || bytes.Equal(image[:6], []byte{0x47, 0x49, 0x46, 0x38, 0x37, 0x61}): // GIF
Expand Down

0 comments on commit c3c3ec1

Please sign in to comment.