You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
build: bump golangci-lint to 2.1.6
This commit is contained in:
committed by
Henrique Dias
parent
da03728cd7
commit
1d494ff315
@@ -207,7 +207,7 @@ func getEmbeddedThumbnail(in io.Reader) ([]byte, io.Reader, error) {
|
||||
|
||||
offset := 0
|
||||
offsets := []int{12, 30}
|
||||
head := make([]byte, 0xffff) //nolint:gomnd
|
||||
head := make([]byte, 0xffff) //nolint:mnd
|
||||
|
||||
_, err := r.Read(head)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user