Skip to content

Commit

Permalink
Use aliases: true to avoid yaml loading errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoj committed Jul 21, 2023
1 parent 6e823b1 commit 3d0515d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/lib/tasks/migrate_options_yml.rake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require 'yaml'

desc 'Migrate config/options.yml to new format'
task :migrate_options_yml do
config = YAML.load_file('config/options.yml')
config = YAML.load_file('config/options.yml', aliases: true)
if config.is_a?(Hash) && config.key?('default')
puts 'config/options.yml is already converted. Nothing to do here.'
else
Expand Down

0 comments on commit 3d0515d

Please sign in to comment.