diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 12:09:21 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 12:09:21 +0000 |
commit | 09b4875c004d2db76b15cb0b32e7a7e623bbfa6f (patch) | |
tree | ed34a2d9267c31a22623e37e8cfc0ca009e59e2b /scripts/utils.sh | |
parent | 19e00b948726c0f7ca27dd92200493803499a4e1 (diff) | |
download | gitlab-ce-09b4875c004d2db76b15cb0b32e7a7e623bbfa6f.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/utils.sh')
-rw-r--r-- | scripts/utils.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/utils.sh b/scripts/utils.sh index 92f647958fe..c9e4a6a487d 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -107,27 +107,6 @@ function install_junit_merge_gem() { run_timed_command "gem install junit_merge --no-document --version 0.1.2" } -function fail_on_warnings() { - local cmd="$*" - local warnings - warnings="$(mktemp)" - - eval "$cmd 2>$warnings" - local ret=$? - - if test -s "$warnings"; - then - echoerr "There were warnings:" - cat "$warnings" - rm "$warnings" - return 1 - fi - - rm "$warnings" - - return $ret -} - function run_timed_command() { local cmd="${1}" local metric_name="${2:-no}" |