Skip to content

Commit 8a08b6f

Browse files
committed
gratuitous var elimination
1 parent a8efce9 commit 8a08b6f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

examples/findFlowCallouts.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
// See the License for the specific language governing permissions and
2222
// limitations under the License.
2323
//
24-
// last saved: <2018-November-26 16:12:44>
24+
// last saved: <2018-November-26 16:22:25>
2525

2626
var async = require('async'),
2727
edgejs = require('apigee-edge-js'),
@@ -65,9 +65,8 @@ function examineOnePolicy(org, proxyName, revision) {
6565
org.proxies.get({ name: proxyName, revision: revision, policy: policyName }, function(e, result) {
6666
handleError(e);
6767
// return true if FlowCallout and maybe if the particular sharedflow is referenced.
68-
var boolResult = (result.policyType === 'FlowCalloutBean') &&
69-
( ! opt.options.sharedflow || (opt.options.sharedflow == result.sharedFlowBundle));
70-
callback(null, boolResult);
68+
callback(null, (result.policyType === 'FlowCalloutBean') &&
69+
( ! opt.options.sharedflow || (opt.options.sharedflow == result.sharedFlowBundle)));
7170
});
7271
};
7372
}

0 commit comments

Comments
 (0)