mirror of
https://github.com/wader/fq.git
synced 2024-11-23 09:56:07 +03:00
lint: Remove usused nolint, should somehow tell about decode.Copy
This commit is contained in:
parent
776a6b3136
commit
13d5cbd81b
@ -91,7 +91,7 @@ func gzDecode(d *decode.D, in interface{}) interface{} {
|
||||
deflateR := bzip2.NewReader(compressedBB)
|
||||
uncompressed := &bytes.Buffer{}
|
||||
crc32W := crc32.NewIEEE()
|
||||
if _, err := decode.Copy(d, io.MultiWriter(uncompressed, crc32W), deflateR); err != nil { //nolint:gosec
|
||||
if _, err := decode.Copy(d, io.MultiWriter(uncompressed, crc32W), deflateR); err != nil {
|
||||
d.Invalid(err.Error())
|
||||
}
|
||||
// calculatedCRC32 := crc32W.Sum(nil)
|
||||
|
Loading…
Reference in New Issue
Block a user