From dd936ae799c39d7f50a31c421b78111a05c8ee6c Mon Sep 17 00:00:00 2001 From: Laurent Goderre Date: Mon, 25 Apr 2016 14:35:56 -0400 Subject: [PATCH] Added an output for when the tasks succeeds --- tasks/sass-lint.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/sass-lint.js b/tasks/sass-lint.js index 1bd20fe..99e9cbd 100755 --- a/tasks/sass-lint.js +++ b/tasks/sass-lint.js @@ -26,7 +26,9 @@ module.exports = function (grunt) { } else { grunt.log.writeln(resultFormat); } - if (errorCount.count > 0) grunt.fail.warn(''); + if (errorCount.count > 0) grunt.fail.warn(''); + } else { + grunt.log.ok(results.length + ' ' + grunt.util.pluralize(results.length, 'file/files') + ' lint free.'); } }); };