diff --git a/index.js b/index.js index 6b6f3f0..0f9d37b 100644 --- a/index.js +++ b/index.js @@ -143,7 +143,7 @@ gulpHtmlhintInline.defaultReporter = function(file) { if(report.success) { log(color.green(file.path + ' lint free.')); } if(!report.success) { - log(color.cyan(report.length) + ' error' + (report.length === 1 ? '' : 's') + ' found'); + log(color.cyan(report.length) + ' error' + (report.length === 1 ? '' : 's') + ' found at ' + color.gray(file.path)); report.forEach(function(message) { var evidence = message.evidence, @@ -176,7 +176,7 @@ gulpHtmlhintInline.failReporter = function() { (fails = fails || []).push(file.path); if(file.htmlhint_inline && file.htmlhint_inline.length !== 0) { - error = new PluginError(PLUGIN_NAME, { + error = new PluginError(PLUGIN_NAME, { message: PLUGIN_NAME + ' failed for: ' + fails.join(', '), showStack: false }); diff --git a/package.json b/package.json index 797076b..5cd6c06 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gulp-htmlhint-inline", "description": "Gulp plugin for linting inline html", - "version": "0.0.6", + "version": "0.0.7", "homepage": "https://github.com/kazu69/gulp-htmlhint-inline", "main": "index.js", "author": {