Skip to content

Commit

Permalink
handling errors a bit more gracefully #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
jharding committed Apr 5, 2012
1 parent f92c4b7 commit e419265
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/less.js
Expand Up @@ -48,6 +48,8 @@ module.exports = function(grunt) {
if (err) {
grunt.warn(err);
done(false);

return;
}

file.write(dest, results.join(utils.linefeed));
Expand Down

0 comments on commit e419265

Please sign in to comment.