Clobber mode doesn't cleanup existing file properly
Closed this issue · 0 comments
sl1pm4t commented
When writing generated HCL to file, if the output file already exists and -x
flag is used to overwrite it, the existing file is not removed and the new contents is written over top.
This can cause issues if the new contents is less bytes than the original, as the tail end of the original contents will still exist in the file.