fastlane/lib/fastlane/actions/spm.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/actions/spm.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -27,11 +27,11 @@ FastlaneCore::ConfigItem.new(key: :command, env_name: "FL_SPM_COMMAND", description: "The swift command (one of: #{available_commands.join(', ')})", default_value: "build", verify_block: proc do |value| - UI.user_error!("Please pass a valid command. Use one of the following: #{available_commands.join(', ')}") unless available_commands.include? value + UI.user_error!("Please pass a valid command. Use one of the following: #{available_commands.join(', ')}") unless available_commands.include?(value) end), FastlaneCore::ConfigItem.new(key: :build_path, env_name: "FL_SPM_BUILD_PATH", description: "Specify build/cache directory [default: ./.build]", optional: true), @@ -43,10 +43,10 @@ short_option: "-c", env_name: "FL_SPM_CONFIGURATION", description: "Build with configuration (debug|release) [default: debug]", optional: true, verify_block: proc do |value| - UI.user_error!("Please pass a valid configuration: (debug|release)") unless valid_configurations.include? value + UI.user_error!("Please pass a valid configuration: (debug|release)") unless valid_configurations.include?(value) end), FastlaneCore::ConfigItem.new(key: :verbose, short_option: "-v", env_name: "FL_SPM_VERBOSE", description: "Increase verbosity of informational output",