From 111a320757e15c12f7c011e84915562f9ace3693 Mon Sep 17 00:00:00 2001 From: Antoine Jackson Date: Tue, 28 Oct 2014 16:37:42 +0100 Subject: [PATCH] Fixed minor bugs and fixed npm ignore file --- .npmignore | 4 ++-- src/cli/plugins.coffee | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.npmignore b/.npmignore index 2b7214148..a83244383 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1,2 @@ -lib -Gruntfile.js \ No newline at end of file +/Gruntfile.js +src diff --git a/src/cli/plugins.coffee b/src/cli/plugins.coffee index 5dbb80a17..39bc729f6 100644 --- a/src/cli/plugins.coffee +++ b/src/cli/plugins.coffee @@ -321,7 +321,8 @@ module.exports = (args, options) -> if args[0]? console.log 'Unknown command: ' + args[0].yellow - @help() + if not options.help + @help() return main_defer.promise