Skip to content

Commit

Permalink
fix: add Escaped Double Quotes to comment (#82)
Browse files Browse the repository at this point in the history
Add double quotes to `comment`
  • Loading branch information
keunhyung-chung authored Sep 2, 2024
1 parent 401948c commit c7a55a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ github::comment() {
-H "$GITHUB_API_HEADER" \
-X POST \
-H "Content-Type: application/json" \
-d "{\"body\":$comment}" \
-d "{\"body\":\"$comment\"}" \
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/$pr_number/comments"
}

0 comments on commit c7a55a0

Please sign in to comment.