1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2025-07-07 00:38:30 +00:00

archive/tar: linting errors

I intend to not make changes to this `archive/tar` that aren't from
upstream, or are not directly related to the usage by this project...

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-03-25 20:20:49 -04:00
parent 516158dbfb
commit bc1624cbfc
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
2 changed files with 9 additions and 7 deletions

View file

@ -833,8 +833,8 @@ func Benchmark(b *testing.B) {
// Write the archive to a byte buffer.
tw := NewWriter(&buf)
for _, file := range v.files {
tw.WriteHeader(file.hdr)
tw.Write(file.body)
_ = tw.WriteHeader(file.hdr)
_, _ = tw.Write(file.body)
}
tw.Close()
b.Run(v.label, func(b *testing.B) {