diff --git a/src/appium.sh b/src/appium.sh index 974a608..eae40ad 100644 --- a/src/appium.sh +++ b/src/appium.sh @@ -20,14 +20,8 @@ function prepare_geny_cloud() { template=$(get_value '.template') device=$(get_value '.device') - - if [[ $template ]] && [[ $template != null ]]; then - echo "Starting \"$device\" with template name \"$template\"..." - gmtool --cloud admin startdisposable "${template}" "${device}" - else - echo "Starting \"$device\"..." - gmtool --cloud admin start "${device}" - fi + echo "Starting \"$device\" with template name \"$template\"..." + gmtool --cloud admin startdisposable "${template}" "${device}" done }