`default_options` empty initializer added for correct method running

This commit is contained in:
Vladimir Makarov 2022-10-18 19:50:58 +05:00
parent 1b8d06cb0d
commit 8050647847
1 changed files with 4 additions and 0 deletions

View File

@ -377,6 +377,10 @@ def fill_up_options_using_configuration_type(options, configuration_type)
api_key_path = File.expand_path "../fastlane/#{configuration_type.prefix}_api_key.json"
is_api_key_file_exists = File.exists?(api_key_path)
# default_options required to be empty due to the possibility of skipping the configuration type check below
default_options = {}
# Check whether configuration type is required to configure one of api key parameters or not
if configuration_type.is_app_store || configuration_type.is_development