Fix lint errors: add error check and gosec suppressions

This commit is contained in:
Steve Yegge
2025-11-05 01:11:09 -08:00
parent 97786e0bf9
commit 52cf2af9f7
4 changed files with 5 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ func TempDirInMemory(t testing.TB) string {
// Register cleanup
t.Cleanup(func() {
os.RemoveAll(tmpDir)
_ = os.RemoveAll(tmpDir)
})
return tmpDir