summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-18 09:08:30 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-18 09:08:30 +0000
commit5ccb67600c63549774a28811d177dd673e6dd4d0 (patch)
treec8af595d48607c660564fd89d77b47c3384501af /lib/tasks
parent6a201406143969f12cb9e4687a79ce9316420152 (diff)
downloadgitlab-ce-5ccb67600c63549774a28811d177dd673e6dd4d0.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gems.rake4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tasks/gems.rake b/lib/tasks/gems.rake
index 27ea735059e..c6be6d9eead 100644
--- a/lib/tasks/gems.rake
+++ b/lib/tasks/gems.rake
@@ -1,6 +1,7 @@
# frozen_string_literal: true
namespace :gems do
+ # :nocov:
namespace :error_tracking_open_api do
desc 'Generate OpenAPI client for Error Tracking'
# rubocop:disable Rails/RakeEnvironment
@@ -29,7 +30,6 @@ namespace :gems do
end
# rubocop:enable Rails/RakeEnvironment
- # Stubbed in specs
def root_directory
File.expand_path('../../vendor/gems', __dir__)
end
@@ -59,6 +59,7 @@ namespace :gems do
replace_string(content, /(\.test_files\s*=).*/, '\1 []')
end
+ remove_entry_secure(gem_dir / 'Gemfile')
remove_entry_secure(gem_dir / '.rubocop.yml')
remove_entry_secure(gem_dir / '.travis.yml')
remove_entry_secure(gem_dir / 'git_push.sh')
@@ -103,4 +104,5 @@ namespace :gems do
LICENSE
end
end
+ # :nocov:
end