From 008e268c0602285f10380dfbde37f9dd0b65397f Mon Sep 17 00:00:00 2001 From: "James E. Marca" Date: Wed, 16 Oct 2013 13:22:50 -0700 Subject: [PATCH] return null; at the end of the two main functions, add "return null;" because otherwise Emacs javascript parser whinges about not returning something from a routine. I guess it is in the standard and all that. apologies if this is noise, but that's why I'm making tiny commits...you can ignore them. --- tasks/couchapp.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/couchapp.js b/tasks/couchapp.js index 1c39b97..0b91020 100755 --- a/tasks/couchapp.js +++ b/tasks/couchapp.js @@ -72,7 +72,7 @@ module.exports = function(grunt) { } } return done(err, null); - }); + }); } else { grunt.log.writeln("No database specified... skipping."); return done(null, null); @@ -81,6 +81,7 @@ module.exports = function(grunt) { grunt.warn(e); done(e, null); } + return null; }); grunt.registerMultiTask("mkcouchdb", "Make a Couch Database", function() { @@ -106,7 +107,7 @@ module.exports = function(grunt) { grunt.log.writeln("Database " + db.name + " created."); return done(null, null); } - }); + }); } else { var err_msg = "No database specified to create!"; grunt.warn(err_msg); @@ -116,6 +117,7 @@ module.exports = function(grunt) { grunt.warn(e); done(e, null); } + return null; }); };