Method: FastlaneCore::ConfigItem#update_code_gen_default_value_if_able!

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

#update_code_gen_default_value_if_able!Object

if code_gen_default_value is nil, use the default value if it isn’t a ‘code_gen_sensitive` value



179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'fastlane_core/lib/fastlane_core/configuration/config_item.rb', line 179

def update_code_gen_default_value_if_able!
  # we don't support default values for procs
  if @data_type == :string_callback
    @code_gen_default_value = nil
    return
  end

  if @code_gen_default_value.nil?
    unless @code_gen_sensitive

      @code_gen_default_value = @default_value
    end
  end
end