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/rubocop.rb')
-rw-r--r--rubocop/rubocop.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/rubocop/rubocop.rb b/rubocop/rubocop.rb
index 6b5491b27fc..42882966b85 100644
--- a/rubocop/rubocop.rb
+++ b/rubocop/rubocop.rb
@@ -1,12 +1,7 @@
# rubocop:disable Naming/FileName
# frozen_string_literal: true
-# Performance improvements to be upstreamed soon:
-# See https://gitlab.com/gitlab-org/gitlab/-/issues/377469
-require_relative 'ext/path_util'
-require_relative 'ext/variable_force'
-
# Auto-require all cops under `rubocop/cop/**/*.rb`
-Dir[File.join(__dir__, 'cop', '**', '*.rb')].sort.each(&method(:require))
+Dir[File.join(__dir__, 'cop', '**', '*.rb')].sort.each { |file| require file }
# rubocop:enable Naming/FileName