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
|
# Environment variables
|
||||||
if [[ -n ${1:-} ]]; then
|
if [[ -n ${1:-} ]]; then
|
||||||
while :; do
|
|
||||||
case "${1:-}" in
|
case "${1:-}" in
|
||||||
|
|
||||||
--clean-environment)
|
--clean-environment)
|
||||||
|
@ -250,7 +249,6 @@ if [[ -n ${1:-} ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
|
||||||
else
|
else
|
||||||
echo "Must provide a method to execute as first parameter when calling the script"
|
echo "Must provide a method to execute as first parameter when calling the script"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -163,7 +163,6 @@ function stopMediaServer {
|
||||||
|
|
||||||
# Environment variables
|
# Environment variables
|
||||||
if [[ -n ${1:-} ]]; then
|
if [[ -n ${1:-} ]]; then
|
||||||
while :; do
|
|
||||||
case "${1:-}" in
|
case "${1:-}" in
|
||||||
--openvidu-server-unit-tests)
|
--openvidu-server-unit-tests)
|
||||||
OV_UNIT_TESTS=true
|
OV_UNIT_TESTS=true
|
||||||
|
@ -191,7 +190,6 @@ if [[ -n ${1:-} ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
|
||||||
else
|
else
|
||||||
echo "Must provide a method to execute as first parameter when calling the script"
|
echo "Must provide a method to execute as first parameter when calling the script"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue