Comparing version 1.0.0 to 2.0.0
@@ -5,3 +5,7 @@ var path = require('path') | ||
module.exports = function(file) { | ||
file = file || path.resolve('usage.txt') | ||
file = file | ||
? file | ||
: module.parent && module.parent.filename | ||
? path.resolve(path.dirname(module.parent.filename), 'usage.txt') | ||
: path.resolve('usage.txt') | ||
@@ -8,0 +12,0 @@ return function(code) { |
{ | ||
"name": "help", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "substack way of --help", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2802
16