Fix data update rake task

This commit is contained in:
Justin Edmund 2025-02-24 16:05:55 -05:00
parent 280fd25506
commit ee42b93376

View file

@ -7,7 +7,8 @@ namespace :granblue do
Dir[Rails.root.join('lib', 'granblue', '**', '*.rb')].each { |file| require file }
test_mode = ENV['TEST'] == 'true'
importer = Granblue::PostDeployment::DataImporter.new(test_mode: test_mode)
verbose = ENV['VERBOSE'] == 'true'
importer = PostDeployment::DataImporter.new(test_mode: test_mode, verbose: verbose)
importer.process_all_files
end
end