diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 12:12:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-20 12:12:59 +0300 |
commit | 6c4f8ad2d99cf2716e62bd5a0c2ecea9e15505b2 (patch) | |
tree | 3614ad9d01d3c6b4e167848e4ed8fc33834fde8c /scripts/undercoverage | |
parent | 13ad005a25f163520ff94b90cdd53495c5a0b5c4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/undercoverage')
-rwxr-xr-x | scripts/undercoverage | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/undercoverage b/scripts/undercoverage index 348f421c0d5..4acfc78b11b 100755 --- a/scripts/undercoverage +++ b/scripts/undercoverage @@ -20,11 +20,11 @@ module Undercover end compare_base = ARGV[0] -compare_base ||= IO.popen(%w(git merge-base origin/master HEAD)) { |p| p.read.chomp } +compare_base ||= IO.popen(%w[git merge-base origin/master HEAD]) { |p| p.read.chomp } coverage_file_path = 'coverage/lcov/gitlab.lcov' result = if File.exist?(coverage_file_path) - Undercover::CLI.run(%W(-c #{compare_base})) + Undercover::CLI.run(%W[-c #{compare_base}]) else warn "#{coverage_file_path} doesn't exist" 0 |