diff options
Diffstat (limited to 'rubocop/cop_todo.rb')
-rw-r--r-- | rubocop/cop_todo.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rubocop/cop_todo.rb b/rubocop/cop_todo.rb index 943f3375461..cd1c6669ae2 100644 --- a/rubocop/cop_todo.rb +++ b/rubocop/cop_todo.rb @@ -22,6 +22,10 @@ module RuboCop @offense_count += offense_count end + def add_files(files) + @files.merge(files) + end + def autocorrectable? @cop_class&.support_autocorrect? end |