deliver/lib/deliver/options.rb in fastlane-2.74.1 vs deliver/lib/deliver/options.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -72,11 +72,11 @@ env_name: "DELIVER_PLATFORM", description: "The platform to use (optional)", optional: true, default_value: "ios", verify_block: proc do |value| - UI.user_error!("The platform can only be ios, appletvos, or osx") unless %('ios', 'appletvos', 'osx').include? value + UI.user_error!("The platform can only be ios, appletvos, or osx") unless %('ios', 'appletvos', 'osx').include?(value) end), FastlaneCore::ConfigItem.new(key: :metadata_path, short_option: '-m', description: "Path to the folder containing the metadata files", optional: true), @@ -150,10 +150,10 @@ description: "Path to the app rating's config", is_string: true, optional: true, verify_block: proc do |value| UI.user_error!("Could not find config file at path '#{File.expand_path(value)}'") unless File.exist?(value) - UI.user_error! "'#{value}' doesn't seem to be a JSON file" unless FastlaneCore::Helper.json_file?(File.expand_path(value)) + UI.user_error!("'#{value}' doesn't seem to be a JSON file") unless FastlaneCore::Helper.json_file?(File.expand_path(value)) end), FastlaneCore::ConfigItem.new(key: :submission_information, short_option: "-b", description: "Extra information for the submission (e.g. third party content)", is_string: false,