@anycli/command
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,9 @@ | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/anycli/command/compare/1599c40ed9f935cff4ae4c3b3cce8ff9f7b3969e...v1.0.1) (2018-02-03) | ||
### Bug Fixes | ||
* fixed parent module path ([209d4ff](https://github.com/anycli/command/commit/209d4ff)) | ||
<a name="1.0.0"></a> | ||
@@ -2,0 +10,0 @@ # [1.0.0](https://github.com/anycli/command/compare/f3a45a20a89a517d022c90990e96039995dd52b5...v1.0.0) (2018-02-03) |
@@ -14,3 +14,3 @@ "use strict"; | ||
this.argv = argv; | ||
this.config = Config.load(options || module.parent && module.parent.filename || __dirname); | ||
this.config = Config.load(options || module.parent && module.parent.parent && module.parent.parent.filename || __dirname); | ||
this.debug = require('debug')(this.ctor.id ? `${this.config.bin}:${this.ctor.id}` : this.config.bin); | ||
@@ -17,0 +17,0 @@ this.debug('init version: %s argv: %o', this.ctor._base, argv); |
{ | ||
"name": "@anycli/command", | ||
"description": "anycli base command", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/anycli/command/issues", |
27716