lib/advance.rb in advance-0.4.7 vs lib/advance.rb in advance-0.4.8
- old
+ new
@@ -238,9 +238,10 @@
command.gsub!("{file_name_without_extension}", root_file_name)
puts "#{YELLOW}#{command}#{RESET} " if env_is?("ADVANCE_VERBOSE_LOGGING", false)
work_in_sub_dir(new_dir_name) do
do_command command, env_is?("ADVANCE_VERBOSE_LOGGING", false)
end
+ do_command_wo_log "rm #{file_path}" if !env_is?("ADVANCE_SAVE_HISTORY", true)
rescue
puts "%%%% error while processing >>#{file_path}<<"
raise
end
end