Fix data update rake task
This commit is contained in:
parent
280fd25506
commit
ee42b93376
1 changed files with 2 additions and 1 deletions
|
|
@ -7,7 +7,8 @@ namespace :granblue do
|
||||||
Dir[Rails.root.join('lib', 'granblue', '**', '*.rb')].each { |file| require file }
|
Dir[Rails.root.join('lib', 'granblue', '**', '*.rb')].each { |file| require file }
|
||||||
|
|
||||||
test_mode = ENV['TEST'] == 'true'
|
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
|
importer.process_all_files
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue