ci-scripts: remove while loop in case statement

pull/780/head
pabloFuente 2023-03-09 13:15:30 +01:00
parent 794c16ae6d
commit 40c6bbfa6d
2 changed files with 212 additions and 216 deletions

View File

@ -48,7 +48,6 @@ WAIT_FOR_NPM_DEPENDENCY=false
# Environment variables
if [[ -n ${1:-} ]]; then
while :; do
case "${1:-}" in
--clean-environment)
@ -250,7 +249,6 @@ if [[ -n ${1:-} ]]; then
exit 1
;;
esac
done
else
echo "Must provide a method to execute as first parameter when calling the script"
exit 1

View File

@ -163,7 +163,6 @@ function stopMediaServer {
# Environment variables
if [[ -n ${1:-} ]]; then
while :; do
case "${1:-}" in
--openvidu-server-unit-tests)
OV_UNIT_TESTS=true
@ -191,7 +190,6 @@ if [[ -n ${1:-} ]]; then
exit 1
;;
esac
done
else
echo "Must provide a method to execute as first parameter when calling the script"
exit 1