File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ INVALID_TEST_ACCOUNT_TOKEN="${INVALID_TEST_ACCOUNT_TOKEN:-}"
23
23
while [[ " $# " -gt 0 ]]; do
24
24
case $1 in
25
25
--test-type)
26
- if [[ -n ${2-} && " $2 " =~ ^(app| mockapi| e2e)$ ]]; then
26
+ if [[ -n " ${2-} " && " $2 " =~ ^(app| mockapi| e2e)$ ]]; then
27
27
TEST_TYPE=" $2 "
28
28
else
29
29
echo " Error: Bad or missing test type. Must be one of: app, mockapi, e2e"
@@ -32,7 +32,7 @@ while [[ "$#" -gt 0 ]]; do
32
32
shift 2
33
33
;;
34
34
--infra-flavor)
35
- if [[ -n ${2-} && " $2 " =~ ^(prod| stagemole)$ ]]; then
35
+ if [[ -n " ${2-} " && " $2 " =~ ^(prod| stagemole)$ ]]; then
36
36
INFRA_FLAVOR=" $2 "
37
37
else
38
38
echo " Error: Bad or missing infra flavor. Must be one of: prod, stagemole"
@@ -41,7 +41,7 @@ while [[ "$#" -gt 0 ]]; do
41
41
shift 2
42
42
;;
43
43
--billing-flavor)
44
- if [[ -n ${2-} && " $2 " =~ ^(oss| play)$ ]]; then
44
+ if [[ -n " ${2-} " && " $2 " =~ ^(oss| play)$ ]]; then
45
45
BILLING_FLAVOR=" $2 "
46
46
else
47
47
echo " Error: Bad or missing billing flavor. Must be one of: oss, play"
You can’t perform that action at this time.
0 commit comments