From 6d2aebd7cd015db0613a7d5d762053fb5c5c698a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gr=C3=A4mer?= Date: Mon, 16 Apr 2018 16:25:56 +0200 Subject: [PATCH] allow plugins to output there issue.msg --- bin/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cli.js b/bin/cli.js index 69b1f34..f0566e4 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -113,7 +113,7 @@ app.launch({ chalk.magenta(filename), ': ', 'line ', issue.line, ', ', 'col ', issue.column, ', ', - chalk.red(htmllint.messages.renderIssue(issue)) + chalk.red(htmllint.messages.renderIssue(issue) || issue.msg) ].join(''); console.log(msg);