Skip to content

Commit

Permalink
Refs #36219 - remove redundant line
Browse files Browse the repository at this point in the history
in parameters rake task, key_type_name was assigned twice
  • Loading branch information
Ron-Lavi authored and ekohl committed Jul 13, 2023
1 parent dbe4db8 commit 414c1c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/tasks/parameters.rake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ namespace :parameters do
END_DESC
task :cast_key_types_and_values => :environment do
def override_key_type_and_value(param)
key_type_name = 'string'
value = YAML.safe_load param.value
key_type_name = value.is_a?(Hash) ? 'yaml' : find_key_type(value)

Expand Down

0 comments on commit 414c1c6

Please sign in to comment.