Ibotta/sopstool

Clean should not display errors for already cleaned files

onyxraven opened this issue · 0 comments

If you run sopstool clean twice in a row, it currently displays an error for every file in the list

% sopstool clean
rm: example1.json: No such file or directory
rm: example2.yaml: No such file or directory

Instead it should check for existence first, then clean.