Check native fixture writes and explicit temporary cleanup
Private module tooling / contract (pull_request) Failing after 5s

Authored-By: Codex (GPT-6) <noreply@openai.com>
This commit is contained in:
Evelyn Chen
2026-09-07 15:12:33 +00:00
parent 23729de1bb
commit 24a2d4be52
2 changed files with 39 additions and 30 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ func generate() error {
if err != nil {
return err
}
defer os.RemoveAll(temp)
defer func() { _ = os.RemoveAll(temp) }()
if err := os.WriteFile(filepath.Join(temp, "go.mod"), []byte(archiveBoundary), 0444); err != nil {
return err
}