Skip to content

Commit

Permalink
Error check after updating version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
kenany committed Jul 28, 2013
1 parent 684e082 commit fdd7686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ module.exports = function(grunt) {
], cb);
}

async.each(files, upgradeVersion, function(err) {
async.each(files, upgradeVersion, function(error) {
if (error) grunt.log.error(error.message);
var pkg = grunt.file.readJSON('package.json');
grunt.config.data.pkg = pkg;
done();
Expand Down

0 comments on commit fdd7686

Please sign in to comment.