1
0

refactor: remove global temporary directory base

This commit is contained in:
2023-05-13 11:31:47 +00:00
parent 5ada1ef41a
commit 7cf1bbd194
4 changed files with 4 additions and 10 deletions

2
pew.go
View File

@ -659,7 +659,7 @@ func (cmd PewCmd) testArtifact(swg *sizedwaitgroup.SizedWaitGroup,
}
}()
tmp, err := ioutil.TempDir(tempDirBase, "out-of-tree_")
tmp, err := fs.TempDir()
if err != nil {
slog.Error().Err(err).Msg("making tmp directory")
return