File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 2
2
// ------------------------------------------------------------------
3
3
//
4
4
// created: Mon Mar 20 09:57:02 2017
5
- // last saved: <2017-December-07 18:19:37 >
5
+ // last saved: <2017-December-07 18:30:02 >
6
6
7
7
var edgejs = require ( 'apigee-edge-js' ) ,
8
8
common = edgejs . utility ,
@@ -14,24 +14,25 @@ var edgejs = require('apigee-edge-js'),
14
14
[ 'T' , 'notoken' , 'Optional. do not try to obtain a login token.' ]
15
15
] ) ) . bindHelp ( ) ;
16
16
17
- console . log (
18
- 'Apigee Edge findApiProductForProxy.js tool, version: ' + version + '\n' +
19
- 'Node.js ' + process . version + '\n' ) ;
20
-
21
- common . logWrite ( 'start' ) ;
22
-
23
- // process.argv array starts with 'node' and 'scriptname.js'
24
- var opt = getopt . parse ( process . argv . slice ( 2 ) ) ;
25
-
26
17
function handleError ( e ) {
27
18
if ( e ) {
28
19
console . log ( e ) ;
29
20
console . log ( e . stack ) ;
30
21
process . exit ( 1 ) ;
31
22
}
32
23
}
24
+
33
25
// ========================================================
34
26
27
+ console . log (
28
+ 'Apigee Edge findApiProductForProxy.js tool, version: ' + version + '\n' +
29
+ 'Node.js ' + process . version + '\n' ) ;
30
+
31
+ common . logWrite ( 'start' ) ;
32
+
33
+ // process.argv array starts with 'node' and 'scriptname.js'
34
+ var opt = getopt . parse ( process . argv . slice ( 2 ) ) ;
35
+
35
36
common . verifyCommonRequiredParameters ( opt . options , getopt ) ;
36
37
37
38
if ( ! opt . options . proxy ) {
You can’t perform that action at this time.
0 commit comments