Skip to content

Commit

Permalink
feat: added debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
saurav-aggarwal committed Jun 27, 2023
1 parent dea700f commit af98afb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/post-comment-on-pr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const deleteOldComment = async (): Promise<void> => {
const createNewComment = async (body: string): Promise<void> => {
const data = await postCommentOnPR(body)
if (data) {
artifact.uploadArtifact('pr-comment', data.toString())
artifact.uploadArtifact('pr-comment', data.commentId?.toString() ?? '')
}
}

Expand Down

0 comments on commit af98afb

Please sign in to comment.