Skip to content

Commit c7a55a0

Browse files
fix: add Escaped Double Quotes to comment (#82)
Add double quotes to `comment`
1 parent 401948c commit c7a55a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ github::comment() {
101101
-H "$GITHUB_API_HEADER" \
102102
-X POST \
103103
-H "Content-Type: application/json" \
104-
-d "{\"body\":$comment}" \
104+
-d "{\"body\":\"$comment\"}" \
105105
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/$pr_number/comments"
106106
}

0 commit comments

Comments
 (0)