Skip to content

Commit

Permalink
fix: fix the maglev:change_site_locales rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
did committed Dec 8, 2023
1 parent f3fc1d0 commit dcd3d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/maglev_tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace :maglev do
ARGV.each { |a| task a.to_sym => :environment do; end }
# rubocop:enable Style/BlockDelimiters

locales = ARGV[1..].map do |arg|
locales = (ARGV[1..] || []).map do |arg|
label, prefix = arg.split(':')
Maglev::Site::Locale.new(label: label, prefix: prefix)
end
Expand Down

0 comments on commit dcd3d3e

Please sign in to comment.