apigeetool
Advanced tools
Comparing version 0.7.1 to 0.7.2-beta.0
@@ -84,2 +84,11 @@ /* jshint node: true */ | ||
} | ||
product.apiResources = [] | ||
if(opts.apiResources){ | ||
var split = opts.apiResources.split(',') | ||
split.forEach(function(s){ | ||
if(s && s.trim()!= '') { | ||
product.apiResources.push(s.trim()) | ||
} | ||
}) | ||
} | ||
if(opts.scopes){ | ||
@@ -86,0 +95,0 @@ var split = opts.scopes.split(',') |
@@ -354,3 +354,3 @@ /* jshint node: true */ | ||
if (opts.debug) { | ||
console.log('Resolve NPM modules = %s', opts.debug); | ||
console.log('Resolve NPM modules = %s', opts.remoteNpm); | ||
} | ||
@@ -433,3 +433,3 @@ | ||
// and with special handling for the node_modules directory. | ||
ziputils.enumerateNodeDirectory(opts.directory, opts.remoteNpmremoteNpm, function(err, entries) { | ||
ziputils.enumerateNodeDirectory(opts.directory, opts.remoteNpm, function(err, entries) { | ||
if (err) { return done(err); } | ||
@@ -436,0 +436,0 @@ |
@@ -397,4 +397,3 @@ /* jshint node: true */ | ||
} else { | ||
itemDone(new Error(util.format('Error uploading policy: %s', | ||
req.statusCode))); | ||
itemDone(new Error(util.format('Error uploading policy %s: %s',fileName, body))); | ||
} | ||
@@ -401,0 +400,0 @@ }); |
{ | ||
"name": "apigeetool", | ||
"version": "0.7.1", | ||
"version": "0.7.2-beta.0", | ||
"description": "A CLI for Apigee Edge", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
@@ -314,3 +314,3 @@ # apigeetool | ||
`--revision -r` | ||
(optional) Specifies the revision to retrieve. | ||
(required) Specifies the revision to retrieve. | ||
@@ -317,0 +317,0 @@ #### Optional parameters |
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
171448
4897