Skip to content

Commit

Permalink
Merge pull request #16920 from mzazrivec/dont_return_in_a_rake_task
Browse files Browse the repository at this point in the history
Don't return in a rake task
  • Loading branch information
carbonin authored Feb 9, 2018
2 parents 76b5084 + 03e578b commit 93bedac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/locale.rake
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace :locale do
end

config_file = args[:root].join('config/locale_task_config.yaml')
return unless config_file.exist?
next unless config_file.exist?

yamls = YAML.load_file(config_file)['yaml_strings_to_extract']
output = {}
Expand Down

0 comments on commit 93bedac

Please sign in to comment.