Skip to content

Commit 07fc68f

Browse files
committed
fix: Print the name of the file with problems on the console
If verbose output is not enabled for Grunt, the file name was not written and the report could not be connected to it easily.
1 parent caff4af commit 07fc68f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/tidy-html5.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module.exports = function (grunt) {
8080
.then(function (result) {
8181
const errors = result.errlog
8282
if (errors.length) {
83+
grunt.log.writeln('Problems in "' + source + '":')
8384
grunt.log.write(errors)
8485
++failed
8586
}

0 commit comments

Comments
 (0)