fix(deploy): handle empty push args
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user