From d7f4bf671e8d551f9c9b3efe90af844bd51b5393 Mon Sep 17 00:00:00 2001 From: Ben Alman Date: Fri, 25 Oct 2013 12:11:47 -0400 Subject: [PATCH] Whoops. This should be fixed in the plugin, too. --- internal-tasks/bump.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal-tasks/bump.js b/internal-tasks/bump.js index 27eaff1d..a7c011c9 100644 --- a/internal-tasks/bump.js +++ b/internal-tasks/bump.js @@ -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) {