Skip to content

Commit 6d581eb

Browse files
committed
fix unbound variable
1 parent e1df3d5 commit 6d581eb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

e2e/scripts/playwright.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ main() {
1717
export DR_AWS_SECRET_ACCESS_KEY="$7"
1818
elif [ "$test_name" == "deploy-upgrade" ]; then
1919
export APP_UPGRADE_VERSION="$2"
20-
if [ -n "$3" ]; then
21-
export SKIP_CLUSTER_UPGRADE_CHECK="$3"
22-
fi
20+
export SKIP_CLUSTER_UPGRADE_CHECK="${3:-}"
2321
fi
2422

2523
export BASE_URL="http://10.0.0.2:30001"

0 commit comments

Comments
 (0)