Skip to content

Commit 3e522a1

Browse files
committed
fix lint
1 parent 497b203 commit 3e522a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/published_file_missing_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func (s *PublishedFileMissingSuite) createDebPackage(c *C, uploadID, packageName
141141

142142
tempDir, err := os.MkdirTemp("", "deb-build")
143143
c.Assert(err, IsNil)
144-
defer os.RemoveAll(tempDir)
144+
defer func() { _ = os.RemoveAll(tempDir) }()
145145

146146
debianDir := filepath.Join(tempDir, "DEBIAN")
147147
err = os.MkdirAll(debianDir, 0755)

0 commit comments

Comments
 (0)