diff --git a/src/github/core.ts b/src/github/core.ts index fab57ee..a8c615c 100644 --- a/src/github/core.ts +++ b/src/github/core.ts @@ -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 diff --git a/src/publisher/core.ts b/src/publisher/core.ts index 00ff5b8..0610774 100644 --- a/src/publisher/core.ts +++ b/src/publisher/core.ts @@ -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) {