lib/scan/report_collector.rb in scan-0.1.2 vs lib/scan/report_collector.rb in scan-0.2.0

- old
+ new

@@ -30,10 +30,10 @@ Helper.log.error "Couldn't find reporter '#{type}', available #{SUPPORTED.join(', ')}" next end file_name = "report.#{type}" - output_path = output_file_name || File.join(Scan.config[:output_directory], file_name) + output_path = output_file_name || File.join(File.expand_path(Scan.config[:output_directory]), file_name) parts = ["cat '#{path}' | "] parts << "xcpretty" parts << "--report #{type}" parts << "--output '#{output_path}'" parts << "&> /dev/null "