Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop_todo.rb')
-rw-r--r--rubocop/cop_todo.rb4
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