diff options
author | Younes SERRAJ <younes.serraj@gmail.com> | 2019-04-09 10:00:21 +0200 |
---|---|---|
committer | Younes SERRAJ <younes.serraj@gmail.com> | 2019-04-12 08:55:42 +0200 |
commit | 6463cc05730d25ef591fd361a67ac10a1884c3de (patch) | |
tree | 0d2210a87fb3d68ba4810be9724a77521f263f47 /railties/lib/rails/commands | |
parent | 63ca58ae7bbafa0983ed8968ea6310ef33956261 (diff) | |
download | rails-6463cc05730d25ef591fd361a67ac10a1884c3de.tar.gz rails-6463cc05730d25ef591fd361a67ac10a1884c3de.tar.bz2 rails-6463cc05730d25ef591fd361a67ac10a1884c3de.zip |
Adds `register_tags`
Diffstat (limited to 'railties/lib/rails/commands')
-rw-r--r-- | railties/lib/rails/commands/notes/notes_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/notes/notes_command.rb b/railties/lib/rails/commands/notes/notes_command.rb index 64b339b3cd..94cf183855 100644 --- a/railties/lib/rails/commands/notes/notes_command.rb +++ b/railties/lib/rails/commands/notes/notes_command.rb @@ -5,7 +5,7 @@ require "rails/source_annotation_extractor" module Rails module Command class NotesCommand < Base # :nodoc: - class_option :annotations, aliases: "-a", desc: "Filter by specific annotations, e.g. Foobar TODO", type: :array, default: %w(OPTIMIZE FIXME TODO) + class_option :annotations, aliases: "-a", desc: "Filter by specific annotations, e.g. Foobar TODO", type: :array, default: Rails::SourceAnnotationExtractor::Annotation.tags def perform(*) require_application_and_environment! |