Skip to content
Browse files

[fix] Check for args and color switch

  • Loading branch information...
1 parent ddfa5ce commit da54bc9272b672bc388cd22d340ab90fcaaf5930 @alejandro alejandro committed Jun 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/commands.js
  2. +1 −1 lib/log.js
View
2 lib/commands.js
@@ -77,7 +77,7 @@ var commands = {
},
help: {
usage: function(args) {
- if (args[0] && args[0].toLowerCase() === 'all') {
+ if (args && args[0] && args[0].toLowerCase() === 'all') {
showUsage();
} else {
showHelp(args);
View
2 lib/log.js
@@ -54,7 +54,7 @@ exports.usage = function () {
};
exports.info = function () {
- log.log(process.nodester.brand.magenta, 'info'.white, strArgs(arguments));
+ log.log(process.nodester.brand.cyan, 'info'.white, strArgs(arguments));
};
exports.warn = function (str) {

0 comments on commit da54bc9

Please sign in to comment.
Something went wrong with that request. Please try again.