Skip to content

Commit

Permalink
fix: publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
alkoleft committed Jun 3, 2024
1 parent 6fa85f2 commit a24a238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/github/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class GithubMerge {
body: params[i].comment
}
comments.push(comment)
core.debug(`createReviewComments comment #${i} ${comment}`)
core.debug(` comment #${i} ${JSON.stringify(comment)}`)
}
if (comments.length == 0) {
return null
Expand Down
2 changes: 1 addition & 1 deletion src/publisher/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class Publisher {
}

if (needCreate && needCreate.length) {
this.createNewReview(title, needCreate)
await this.github.createReviewComments(title, needCreate)
}

for (const i in needUpdate) {
Expand Down

0 comments on commit a24a238

Please sign in to comment.