Skip to content

Commit 7c87101

Browse files
authored
Merge pull request #422 from INCF/revert-420-distinguish
Revert "Add fix to the ERR and WARN distinguish"
2 parents 8d490c0 + dfa7f65 commit 7c87101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function logIssues (issues, color, options) {
4242
for (var i = 0; i < issues.length; i++) {
4343
var issue = issues[i];
4444
var type = (color==red ? 'ERR': 'WARN');
45-
console.log('\t' + colors[color]((i + 1) + ': (' + type + ') ' + issue.reason + ' (code: ' + issue.code + ' - ' + issue.key + ')'));
45+
console.log('\t' + colors[color]((i + 1) + ': (' + type + ') ' issue.reason + ' (code: ' + issue.code + ' - ' + issue.key + ')'));
4646
for (var j = 0; j < issue.files.length; j++) {
4747
var file = issues[i].files[j];
4848
if (!file || !file.file) {continue;}

0 commit comments

Comments
 (0)