Skip to content

Commit

Permalink
update tool so that it works when examining resources
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoChiesa committed Dec 8, 2017
1 parent d70098b commit 8bb1c71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/findJavaPolicies.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//
// This tool does not examine environment-wide or organization-wide resources.
//
// last saved: <2017-December-07 10:30:42>
// last saved: <2017-December-07 17:55:02>

var fs = require('fs'),
async = require('async'),
Expand All @@ -17,7 +17,7 @@ var fs = require('fs'),
sprintf = require('sprintf-js').sprintf,
Getopt = require('node-getopt'),
merge = require('merge'),
version = '20170727-1150',
version = '20171207-1754',
gRegexp,
getopt = new Getopt(common.commonOptions.concat([
['J' , 'jar=ARG', 'Optional. JAR name to find. Default: search for all JavaCallout policies.'],
Expand Down Expand Up @@ -61,7 +61,7 @@ function getOneRevision (org, proxyName) {
if (opt.options.regexp && !gRegexp) {
gRegexp = new RegExp(opt.options.jar);
}
org.proxies.getResourcesForRevision.get(options, function(e, result){
org.proxies.getResourcesForRevision(options, function(e, result){
if (e) {
return callback(null, null);
}
Expand Down

0 comments on commit 8bb1c71

Please sign in to comment.