Closed diegogoding closed 6 years ago
Hello! Thanks for your contribution.
I'm puzzled, as this quietly handles non-existent files
Remove-Item foo -ErrorAction SilentlyContinue
Additionally, can you help me understand what this accomplishes: echo $null > $tmp_file_path
Checks to make sure the temp file exists, before trying to delete it. It's a fix for this issue: packer:issues/5752