snapshot/lib/snapshot/test_command_generator.rb in fastlane-2.96.0.beta.20180515050025 vs snapshot/lib/snapshot/test_command_generator.rb in fastlane-2.96.0.beta.20180516050022

- old
+ new

@@ -23,10 +23,14 @@ def pipe(language: nil, locale: nil, log_path: nil) tee_command = ['tee'] tee_command << '-a' if log_path && File.exist?(log_path) tee_command << log_path.shellescape if log_path - return ["| #{tee_command.join(' ')} | xcpretty #{Snapshot.config[:xcpretty_args]}"] + + xcpretty = "xcpretty #{Snapshot.config[:xcpretty_args]}" + xcpretty << "--no-color" if Helper.colors_disabled? + + return ["| #{tee_command.join(' ')} | #{xcpretty}"] end def destination(devices) unless verify_devices_share_os(devices) UI.user_error!('All devices provided to snapshot should run the same operating system')