From ea9b3b08c6aa41df60c89f62cb96239c68f51bdb Mon Sep 17 00:00:00 2001 From: chenhang Date: Mon, 6 Jul 2026 13:03:53 +0800 Subject: [PATCH] fix(deploy): handle empty push args --- scripts/deploy/_deploy_lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy/_deploy_lib.sh b/scripts/deploy/_deploy_lib.sh index fd02fad6..e687f477 100755 --- a/scripts/deploy/_deploy_lib.sh +++ b/scripts/deploy/_deploy_lib.sh @@ -19,7 +19,7 @@ push_to_remote() { fi echo "==========================================" - echo "git push ${push_args[*]} $remote $branch ..." + echo "git push ${push_args[*]-} $remote $branch ..." echo "==========================================" local current=$(git branch --show-current 2>/dev/null || echo "unknown")