fastlane/lib/fastlane/actions/tryouts.rb in fastlane-2.86.0.beta.20180316050051 vs fastlane/lib/fastlane/actions/tryouts.rb in fastlane-2.86.0.beta.20180317050040

- old
+ new

@@ -69,17 +69,17 @@ [ FastlaneCore::ConfigItem.new(key: :app_id, env_name: "TRYOUTS_APP_ID", description: "Tryouts application hash", verify_block: proc do |value| - UI.user_error!("No application identifier for Tryouts given, pass using `app_id: 'application id'`") unless value and !value.empty? + UI.user_error!("No application identifier for Tryouts given, pass using `app_id: 'application id'`") unless value && !value.empty? end), FastlaneCore::ConfigItem.new(key: :api_token, env_name: "TRYOUTS_API_TOKEN", sensitive: true, description: "API Token for Tryouts Access", verify_block: proc do |value| - UI.user_error!("No API token for Tryouts given, pass using `api_token: 'token'`") unless value and !value.empty? + UI.user_error!("No API token for Tryouts given, pass using `api_token: 'token'`") unless value && !value.empty? end), FastlaneCore::ConfigItem.new(key: :build_file, env_name: "TRYOUTS_BUILD_FILE", description: "Path to your IPA or APK file. Optional if you use the _gym_ or _xcodebuild_ action", default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],