lib/terraspace/compiler/cleaner.rb in terraspace-0.2.4 vs lib/terraspace/compiler/cleaner.rb in terraspace-0.3.0
- old
+ new
@@ -3,10 +3,10 @@
def initialize(mod, options={})
@mod, @options = mod, options
end
def clean
- return if ENV['TS_NO_CLEAN']
+ return if ENV['TS_CLEAN'] == '0'
backend_change_purge
remove_materialized_artifacts
# remove_materialized_artifacts_dot_terraform
remove_empty_directories
end