From ee7112e7c4f63fc6c46c1836b37ff346311270b2 Mon Sep 17 00:00:00 2001 From: Nulo Date: Sun, 22 Jan 2023 00:29:56 -0300 Subject: [PATCH] realmente borrar tmpdir --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index a895216..fc1a06c 100644 --- a/main.go +++ b/main.go @@ -58,7 +58,7 @@ https://dl-cdn.alpinelinux.org/alpine/v3.17/community`), 0600)) tmp, err := os.MkdirTemp("", "repro-run-") must(err) - defer os.Remove(tmp) + defer os.RemoveAll(tmp) log.Println("/work = " + tmp) params := append(