Skip to content

Commit

Permalink
analyze commits updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-kushwaha committed Feb 14, 2018
1 parent cd62d04 commit 04ff2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lifecycles/analyzeCommits.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ module.exports = function () {
return Promise.all(commits.map(check))
}).then(tasks => {
for(var task of tasks){
console.log(chalk.blue(task.commit));
for(var i in task.report.errors){
console.log(chalk.red('Error '+(+i+1)+'.',task.report.errors[i].message));
}
for(var i in task.report.warnings){
console.log(chalk.yellow('Warning '+(+i+1)+'.',task.report.warnings[i].message));
}
console.log(chalk.blue(task.commit));
console.log(chalk.black('------------------------'));
}

Expand Down

0 comments on commit 04ff2ef

Please sign in to comment.