diff --git a/lib/tasks/import_data.rake b/lib/tasks/import_data.rake index 0dae8c4..ec224e5 100644 --- a/lib/tasks/import_data.rake +++ b/lib/tasks/import_data.rake @@ -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