Skip to content

Commit 720c63f

Browse files
committed
🔊 Update merge conflict logs
1 parent 7a6b1b1 commit 720c63f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/pull.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module.exports = class Pull {
5959
r.upstream.toLowerCase() === incomingPR.head.ref.toLowerCase()))[0]
6060

6161
if (incomingPR.mergeable === false) {
62-
this.logger.debug(`ConflictReviewers : ${rule.conflictReviewers} assigned to pull request due to merge conflict`)
62+
this.logger.debug(`[${this.config.repoPath}]#${prNumber} mergeable:false`)
6363

6464
try {
6565
await this.github.issues.getLabel({
@@ -80,7 +80,7 @@ module.exports = class Pull {
8080
})
8181

8282
await this.addReviewers(prNumber, rule.conflictReviewers)
83-
} else { this.logger.debug(`[${this.config.repoPath}]#${prNumber} Pull request is mergeable , no need of conflict reviewers`) }
83+
}
8484

8585
if (rule && rule.mergeMethod !== 'none' &&
8686
incomingPR.state === 'open' &&

0 commit comments

Comments
 (0)