Method: FastlaneCore::ConfigItem#fetch_env_value

Defined in:
fastlane_core/lib/fastlane_core/configuration/config_item.rb

#fetch_env_valueObject



257
258
259
260
261
262
263
264
265
# File 'fastlane_core/lib/fastlane_core/configuration/config_item.rb', line 257

def fetch_env_value
  env_names.each do |name|
    next if ENV[name].nil?
    # verify! before using (see https://github.com/fastlane/fastlane/issues/14449)
    return ENV[name].dup if verify!(auto_convert_value(ENV[name]))
  end

  return nil
end