fastlane/lib/fastlane/actions/get_build_number.rb in fastlane-2.86.0.beta.20180316050051 vs fastlane/lib/fastlane/actions/get_build_number.rb in fastlane-2.86.0.beta.20180317050040
- old
+ new
@@ -59,10 +59,10 @@
env_name: "FL_BUILD_NUMBER_PROJECT",
description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
optional: true,
verify_block: proc do |value|
UI.user_error!("Please pass the path to the project, not the workspace") if value.end_with?(".xcworkspace")
- UI.user_error!("Could not find Xcode project") if !File.exist?(value) and !Helper.test?
+ UI.user_error!("Could not find Xcode project") if !File.exist?(value) && !Helper.test?
end),
FastlaneCore::ConfigItem.new(key: :hide_error_when_versioning_disabled,
env_name: "FL_BUILD_NUMBER_HIDE_ERROR_WHEN_VERSIONING_DISABLED",
description: "Used during `fastlane init` to hide the error message",
default_value: false,