Fix Rake/Require offense
requested to merge edith007/gitlab:cop-rule-rake-require-refresh-project-statistics-build-artifacts-size into master
What does this MR do and why?
This MR aims to solve the issue #391459 (closed)
This MR moves all require
s into task definition of refresh_project_statistics_build_artifacts_size
(lib/tasks/gitlab/refresh_project_statistics_build_artifacts_size.rake
) rake task.
Screenshots
How to set up and validate locally
rake gitlab:refresh_project_statistics_build_artifacts_size\[csv_url\]
bundle exec rubocop lib/tasks/gitlab/refresh_project_statistics_build_artifacts_size.rake
Inspecting 1 file
.
1 file inspected, no offenses detected
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Siddharth Asthana