Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bertold committed Jul 2, 2024
1 parent 44aa92d commit 11fb16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func (c *tarCompressor) Compress(t *testing.T, sourceDir string, destBase string
return writeTar(sourceDir, tarFile)
}

func (c *tarZCompressor) Compress(t *testing.T, sourceDir string, destBase string) error {
func (c *tarZCompressor) Compress(t *testing.T, _ string, destBase string) error {
t.Helper()

// No native Go library for .tar.Z and compress Unix utility is not available on
Expand All @@ -203,7 +203,7 @@ func (c *tarZCompressor) Compress(t *testing.T, sourceDir string, destBase strin
assert.Greater(t, written, int64(0))
require.NoError(t, err)

return err
return nil
}

func (c *tarBzipCompressor) Compress(t *testing.T, sourceDir string, destBase string) error {
Expand Down

0 comments on commit 11fb16e

Please sign in to comment.