diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-18 21:08:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-18 21:08:05 +0300 |
commit | 6b5d8b17e28741bccf31029633cc5af7ceab1486 (patch) | |
tree | 38732dffc21a5084b5c3d49b56b81aa11b4e657e /lib/tasks | |
parent | a84995f457d775bb73598d4393c3bc99805d9b58 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/rubocop.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/rubocop.rake b/lib/tasks/rubocop.rake index 6eabdf51dcd..28c370e5ca6 100644 --- a/lib/tasks/rubocop.rake +++ b/lib/tasks/rubocop.rake @@ -36,7 +36,7 @@ unless Rails.env.production? # expected. cop_names = args.to_a - todo_dir = RuboCop::TodoDir.new(RuboCop::TodoDir::DEFAULT_TODO_DIR) + todo_dir = RuboCop::TodoDir.new(RuboCop::Formatter::TodoFormatter.base_directory) if cop_names.any? # We are sorting the cop names to benefit from RuboCop cache which |