Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[fix] Check for args and color switch

  • Loading branch information...
commit da54bc9272b672bc388cd22d340ab90fcaaf5930 1 parent ddfa5ce
Alejandro Morales alejandro authored

Showing 2 changed files with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  lib/commands.js
  2. +1 1  lib/log.js
2  lib/commands.js
@@ -77,7 +77,7 @@ var commands = {
77 77 },
78 78 help: {
79 79 usage: function(args) {
80   - if (args[0] && args[0].toLowerCase() === 'all') {
  80 + if (args && args[0] && args[0].toLowerCase() === 'all') {
81 81 showUsage();
82 82 } else {
83 83 showHelp(args);
2  lib/log.js
@@ -54,7 +54,7 @@ exports.usage = function () {
54 54 };
55 55
56 56 exports.info = function () {
57   - log.log(process.nodester.brand.magenta, 'info'.white, strArgs(arguments));
  57 + log.log(process.nodester.brand.cyan, 'info'.white, strArgs(arguments));
58 58 };
59 59
60 60 exports.warn = function (str) {

0 comments on commit da54bc9

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