Skip to content

Commit

Permalink
[v 0.3.1]: new release of i18n-action
Browse files Browse the repository at this point in the history
  • Loading branch information
inlang-bot committed May 14, 2024
1 parent 2ab43dc commit 59c25db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dist/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -62974,9 +62974,9 @@ ${lintSummary.map(
(comment) => (comment.body?.includes(commentMergeline) || comment.body?.includes(commentResolved)) && comment.user?.login === "github-actions[bot]"
)?.id;
if (commentId) {
core.debug("Updating existing comment");
console.debug("Updating existing comment");
if (results.every((result) => result.commentContent.length === 0)) {
core.debug("Reports have been fixed, updating comment and removing it");
console.debug("Reports have been fixed, updating comment and removing it");
await octokit.rest.issues.updateComment({
owner,
repo,
Expand All @@ -62985,7 +62985,7 @@ ${lintSummary.map(
as: "ninja-i18n"
});
} else {
core.debug("Reports have not been fixed, updating comment");
console.debug("Reports have not been fixed, updating comment");
await octokit.rest.issues.updateComment({
owner,
repo,
Expand All @@ -62996,9 +62996,9 @@ ${lintSummary.map(
}
}
} else if (results.every((result) => result.commentContent.length === 0)) {
core.debug("No lint reports found, skipping comment");
console.debug("No lint reports found, skipping comment");
} else {
core.debug("Creating a new comment");
console.debug("Creating a new comment");
await octokit.rest.issues.createComment({
owner,
repo,
Expand Down

0 comments on commit 59c25db

Please sign in to comment.