Skip to content

Fix Rake/Require offense

What does this MR do and why?

This MR aims to solve the issue #391459 (closed)

This MR moves all requires into task definition of refresh_project_statistics_build_artifacts_size (lib/tasks/gitlab/refresh_project_statistics_build_artifacts_size.rake) rake task.

Screenshots

image

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.

Edited by Siddharth Asthana

Merge request reports