Skip to content

Commit f313ba9

Browse files
committed
Replace white spaces
1 parent 4d70ecf commit f313ba9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

approve-deploy-request.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44

55
. authenticate-ps.sh
66

7-
DEPLOY_REQUEST_NUMBER=$1
8-
COMMENT=$2
7+
DEPLOY_REQUEST_NUMBER="$1"
8+
COMMENT="$2"
9+
# escape whitespaces in comment with no-break space
10+
COMMENT="$(echo "$COMMENT" | sed -e 's/ /\ /g')"
911

1012
. set-db-and-org-and-branch-name.sh
1113
pscale deploy-request review "$DB_NAME" "$DEPLOY_REQUEST_NUMBER" --approve --comment "$COMMENT" --org "$ORG_NAME"

0 commit comments

Comments
 (0)