Skip to content

Commit

Permalink
Remove option conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Holtz committed Oct 1, 2020
1 parent d108865 commit e67ab0e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cert/lib/cert/options.rb
Expand Up @@ -41,7 +41,7 @@ def self.available_options
env_name: "DELIVER_API_KEY_PATH",
description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
optional: true,
conflicting_options: [:username],
conflicting_options: [:api_key],
verify_block: proc do |value|
UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
end),
Expand All @@ -51,7 +51,7 @@ def self.available_options
type: Hash,
optional: true,
sensitive: true,
conflicting_options: [:api_key_path, :username]),
conflicting_options: [:api_key_path]),

# Apple ID
FastlaneCore::ConfigItem.new(key: :username,
Expand Down
4 changes: 2 additions & 2 deletions deliver/lib/deliver/options.rb
Expand Up @@ -16,7 +16,7 @@ def self.available_options
env_name: "DELIVER_API_KEY_PATH",
description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
optional: true,
conflicting_options: [:username],
conflicting_options: [:api_key],
verify_block: proc do |value|
UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
end),
Expand All @@ -26,7 +26,7 @@ def self.available_options
type: Hash,
optional: true,
sensitive: true,
conflicting_options: [:api_key_path, :username]),
conflicting_options: [:api_key_path]),

FastlaneCore::ConfigItem.new(key: :username,
short_option: "-u",
Expand Down
4 changes: 2 additions & 2 deletions match/lib/match/options.rb
Expand Up @@ -77,7 +77,7 @@ def self.available_options
env_name: "SIGH_API_KEY_PATH",
description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
optional: true,
conflicting_options: [:api_key, :username],
conflicting_options: [:api_key],
verify_block: proc do |value|
UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
end),
Expand All @@ -87,7 +87,7 @@ def self.available_options
type: Hash,
optional: true,
sensitive: true,
conflicting_options: [:api_key_path, :username]),
conflicting_options: [:api_key_path]),

# Apple ID
FastlaneCore::ConfigItem.new(key: :username,
Expand Down
4 changes: 2 additions & 2 deletions sigh/lib/sigh/options.rb
Expand Up @@ -60,7 +60,7 @@ def self.available_options
env_name: "SIGH_API_KEY_PATH",
description: "Path to your App Store Connect API Key JSON file (https://docs.fastlane.tools/app-store-connect-api/#using-fastlane-api-key-json-file)",
optional: true,
conflicting_options: [:username],
conflicting_options: [:api_key],
verify_block: proc do |value|
UI.user_error!("Couldn't find API key JSON file at path '#{value}'") unless File.exist?(value)
end),
Expand All @@ -70,7 +70,7 @@ def self.available_options
type: Hash,
optional: true,
sensitive: true,
conflicting_options: [:api_key_path, :username]),
conflicting_options: [:api_key_path]),

# Apple ID
FastlaneCore::ConfigItem.new(key: :username,
Expand Down

0 comments on commit e67ab0e

Please sign in to comment.