machinepack-util
Advanced tools
Comparing version 6.1.0 to 6.1.1
@@ -24,6 +24,7 @@ module.exports = { | ||
path: { | ||
pathOrPkgName: { | ||
friendlyName: 'Path or package name', | ||
description: 'The name of a locally-installed NPM package-- or the absolute path to a Node.js module, or to the directory of an NPM package.', | ||
extendedDescription: 'If a relative path is provided, it will be resolved to an absolute path from the context of the current working directory.', | ||
example: '/code/machinepack-twitter', | ||
description: 'The absolute path to a Node.js module, or to the directory of an NPM package.', | ||
extendedDescription: 'If a relative path is provided, it will be resolved to an absolute path from the context of the current working directory.', | ||
required: true | ||
@@ -64,3 +65,3 @@ } | ||
var absPath = path.resolve(process.cwd(), inputs.path); | ||
var absPath = path.resolve(process.cwd(), inputs.pathOrPkgName); | ||
try { | ||
@@ -67,0 +68,0 @@ var result = require(absPath); |
{ | ||
"name": "machinepack-util", | ||
"version": "6.1.0", | ||
"version": "6.1.1", | ||
"description": "Miscellaneous utilities for everyday tasks with arrays, dictionaries, strings, etc.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
12555
292