lib/mutx/results/result.rb in mutx-0.1.18 vs lib/mutx/results/result.rb in mutx-0.1.19
- old
+ new
@@ -348,11 +348,11 @@
def open_report_file
begin
FileUtils.cp("#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}", "#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}~")
file_content = File.open "#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}~", "r"
- File.delete("#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}~")
+ #File.delete("#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}~")
rescue
false
end
file_content
@@ -528,20 +528,20 @@
end
end
def delete_mutx_report_file!
begin
- File.delete("#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}")
+ #File.delete("#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}")
Mutx::Support::Log.debug "[#{@id}] Report files deleted" if Mutx::Support::Log
true
rescue => e
false
end
end
def delete_copy_mutx_report_file!
begin
- File.delete("#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}~")
+ #File.delete("#{Dir.pwd}/mutx/temp/#{mutx_report_file_name}~") #No delete to attach via email
true
rescue => e
false
end
end
\ No newline at end of file