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 9099c62 commit 93f774fCopy full SHA for 93f774f
lib/tasks/annotate_models_migrate.rake
@@ -16,6 +16,7 @@ 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
Rake::Task[task].enhance do
21
Rake::Task[Rake.application.top_level_tasks.last].enhance do
22
annotation_options_task = if Rake::Task.task_defined?('app:set_annotation_options')
0 commit comments