Closed jyore closed 7 years ago
The .terraform was not being removed because it did not have the -r flag. I just added the flag as it will not hurt for removing the single files.
-r
Also, it would be more efficient to just do:
util.RunCmd("rm", "-rf", strings.Join(filesToClean, " "))
instead of the loop. thoughts?
The .terraform was not being removed because it did not have the
-r
flag. I just added the flag as it will not hurt for removing the single files.Also, it would be more efficient to just do:
instead of the loop. thoughts?