Commit graph

2 commits

Author SHA1 Message Date
Ben Kochie
3f6dfbd2a7
Fix temp file close error ()
Avoid Go 1.20 test error by not attempting to close the testing temp
file unless there was an error in Read().
* Use a CreateTemp() to create unique test files.
* Defer the deletion of the temp file.

Woarkaround for: https://github.com/golang/go/issues/59938

Signed-off-by: SuperQ <superq@gmail.com>
2023-05-03 13:53:48 -04:00
xuweiwei
e799a0f5c7
plugin/file: Fix print tree error ()
Automatically submitted.
2021-11-19 16:18:31 +00:00