lib/tasks/sample.rake in solidus_sample-3.2.9 vs lib/tasks/sample.rake in solidus_sample-3.3.0

- old
+ new

@@ -5,17 +5,17 @@ namespace :spree_sample do desc 'Loads sample data' task load: :environment do if ARGV.include?("db:migrate") - puts %{ -Please run db:migrate separately from spree_sample:load. + puts <<~TEXT + Please run db:migrate separately from spree_sample:load. -Running db:migrate and spree_sample:load at the same time has been known to -cause problems where columns may be not available during sample data loading. + Running db:migrate and spree_sample:load at the same time has been known to + cause problems where columns may be not available during sample data loading. -Migrations have been run. Please run "rake spree_sample:load" by itself now. - } + Migrations have been run. Please run "rake spree_sample:load" by itself now. + TEXT exit(1) end SpreeSample::Engine.load_samples end