snapshot/lib/snapshot/runner.rb in fastlane-2.1.1 vs snapshot/lib/snapshot/runner.rb in fastlane-2.1.2

- old
+ new

@@ -197,10 +197,10 @@ return Collector.fetch_screenshots(raw_output, dir_name, device_type, launch_arguments.first) end def open_simulator_for_device(device_name) - return unless ENV['FASTLANE_EXPLICIT_OPEN_SIMULATOR'] + return unless FastlaneCore::Env.truthy?('FASTLANE_EXPLICIT_OPEN_SIMULATOR') device = TestCommandGenerator.find_device(device_name) FastlaneCore::Simulator.launch(device) if device end