fastlane/lib/fastlane/actions/slather.rb in fastlane-2.86.0.beta.20180316050051 vs fastlane/lib/fastlane/actions/slather.rb in fastlane-2.86.0.beta.20180317050040
- old
+ new
@@ -124,10 +124,10 @@
optional: true),
FastlaneCore::ConfigItem.new(key: :proj,
env_name: "FL_SLATHER_PROJ", # The name of the environment variable
description: "The project file that slather looks at", # a short description of this parameter
verify_block: proc do |value|
- UI.user_error!("No project file specified, pass using `proj: 'Project.xcodeproj'`") unless value and !value.empty?
+ UI.user_error!("No project file specified, pass using `proj: 'Project.xcodeproj'`") unless value && !value.empty?
end,
optional: true),
FastlaneCore::ConfigItem.new(key: :workspace,
env_name: "FL_SLATHER_WORKSPACE",
description: "The workspace that slather looks at",