Fix lint errors: add error check and gosec suppressions
This commit is contained in:
@@ -55,7 +55,7 @@ func TempDirInMemory(t testing.TB) string {
|
||||
|
||||
// Register cleanup
|
||||
t.Cleanup(func() {
|
||||
os.RemoveAll(tmpDir)
|
||||
_ = os.RemoveAll(tmpDir)
|
||||
})
|
||||
|
||||
return tmpDir
|
||||
|
||||
Reference in New Issue
Block a user