diff --git a/lib/tasks/locale.rake b/lib/tasks/locale.rake index bce5567b621..d319db0a88d 100644 --- a/lib/tasks/locale.rake +++ b/lib/tasks/locale.rake @@ -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 = {}