Skip to content

Commit

Permalink
Whoops. This should be fixed in the plugin, too.
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboy committed Oct 25, 2013
1 parent e9a79a0 commit d7f4bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal-tasks/bump.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = function(grunt) {
modes.push(matches[0]);
}
});
if (this.errorCount === 0 && modes === 0) {
if (this.errorCount === 0 && modes.length === 0) {
grunt.log.error('Error: no modes specified.');
}
if (this.errorCount > 0) {
Expand Down

0 comments on commit d7f4bf6

Please sign in to comment.