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.
This commit is contained in:
James E. Marca 2013-10-16 13:22:50 -07:00
parent d0f8fb3d21
commit 008e268c06
1 changed files with 4 additions and 2 deletions

View File

@ -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;
});
};