snapshot/lib/snapshot/runner.rb in fastlane-2.27.0.beta.20170407010056 vs snapshot/lib/snapshot/runner.rb in fastlane-2.27.0.beta.20170408010009

- old
+ new

@@ -69,11 +69,11 @@ FileUtils.rm_rf(TestCommandGenerator.derived_data_path) end end # This is its own method so that it can re-try if the tests fail randomly - # @return true/false depending on if the tests succeded + # @return true/false depending on if the tests succeeded def run_for_device_and_language(language, locale, device, launch_arguments, retries = 0) return launch(language, locale, device, launch_arguments) rescue => ex UI.error ex.to_s # show the reason for failure to the user, but still maybe retry @@ -131,10 +131,10 @@ puts "" puts Terminal::Table.new(params) puts "" end - # Returns true if it succeded + # Returns true if it succeeded def launch(language, locale, device_type, launch_arguments) screenshots_path = TestCommandGenerator.derived_data_path FileUtils.rm_rf(File.join(screenshots_path, "Logs")) FileUtils.rm_rf(screenshots_path) if Snapshot.config[:clean] FileUtils.mkdir_p(screenshots_path)