mirror of https://github.com/OpenVidu/openvidu.git
ci-scripts: remove while loop in case statement
parent
794c16ae6d
commit
40c6bbfa6d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue