We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dc8890 commit bc7ac37Copy full SHA for bc7ac37
lib/tasks/annotate_models_migrate.rake
@@ -16,6 +16,8 @@ if defined?(Rails::Application) && Rails.version.split('.').first.to_i >= 6
16
end
17
18
migration_tasks.each do |task|
19
+ next unless Rake::Task.task_defined?(task)
20
+
21
Rake::Task[task].enhance do
22
Rake::Task[Rake.application.top_level_tasks.last].enhance do
23
annotation_options_task = if Rake::Task.task_defined?('app:set_annotation_options')
0 commit comments