Skip to content

Commit

Permalink
chore: improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Feb 10, 2023
1 parent 7bfea88 commit 73f38eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/cpr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ runCli(async args => {
const conflictPRs = []
for (let i = 0; i < prList.length; i++) {
const pr = prList[i]
console.log(c.yellow('[Checking...] => '), pr.title)
console.log(c.yellow('[Checking...]'), pr.title)
const info = await getPR(owner, repo, pr.number)
if (!info.mergeable) {
conflictPRs.push({
Expand All @@ -64,7 +64,7 @@ runCli(async args => {
return
}

console.log(c.red(`${conflictPRs.length} conflict PRs found`))
console.log(c.bgRed(`${conflictPRs.length} conflict PRs found`))

const p = new Table({
columns: [
Expand Down

0 comments on commit 73f38eb

Please sign in to comment.