The audit-tool deletes any tmp and output directory in the directory where it is run #104
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Once installed the audit-tool is a binary and can be run from any directory. If there is a tmp or output directory where it is run they will be wiped out without further notice:
audit/pkg/helpers.go
Lines 150 to 155 in 65771ff
A standard way of working with tmp files and directories is to have them created in the OS directory designed for the the purpose, often /tmp on Linux. An example can be found here:
https://gobyexample.com/temporary-files-and-directories
The text was updated successfully, but these errors were encountered: