Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Switch to "log.ok". Only show source map log if maps are created.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Aug 6, 2014
1 parent 7cbdd9a commit a2527bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tasks/coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}

});

Expand Down

0 comments on commit a2527bf

Please sign in to comment.