diff --git a/tasks/coffee.js b/tasks/coffee.js index 7b9094b..5440f79 100644 --- a/tasks/coffee.js +++ b/tasks/coffee.js @@ -44,8 +44,10 @@ module.exports = function(grunt) { } }); - grunt.log.writeln(actionCounts.fileCreated + ' files created.'); - grunt.log.writeln(actionCounts.mapCreated + ' source map files created.'); + grunt.log.ok(actionCounts.fileCreated + ' files created.'); + if (actionCounts.mapCreated > 0) { + grunt.log.ok(actionCounts.mapCreated + ' source map files created.'); + } });