Skip to content

Commit

Permalink
Colorize needs jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
firecow committed Mar 20, 2020
1 parent 21584b1 commit 165c4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const listJobs = () => {
const needs = job.needs;
let jobLine = `${job.getJobNameString()} ${job.when.padEnd(20)} ${c.yellow(`${job.stage.padEnd(15)}`)} ${String(job.allowFailure).padEnd(15)}`;
if (needs) {
jobLine += ` needs: [${needs.join(',')}]`
jobLine += ` needs: [${c.blueBright(`${needs.join(',')}`)}]`
}
console.log(jobLine);
}
Expand Down

0 comments on commit 165c4c2

Please sign in to comment.