File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
const Constants = require ( './constants' ) ;
2
2
3
- const disableUsageReportingOptions = {
4
- 'disable-usage-reporting' : {
5
- default : undefined ,
6
- description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
7
- type : "boolean"
8
- } ,
9
- }
10
-
11
3
const usernameOptions = {
12
4
'u' : {
13
5
alias : 'username' ,
@@ -46,9 +38,17 @@ const debugModeOptions = {
46
38
} ,
47
39
}
48
40
41
+ exports . disableUsageReportingOptions = {
42
+ 'disable-usage-reporting' : {
43
+ default : undefined ,
44
+ description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
45
+ type : "boolean"
46
+ } ,
47
+ }
48
+
49
49
exports . commonBuildOptions = {
50
50
...configFileOptions ,
51
- ...disableUsageReportingOptions ,
51
+ ...this . disableUsageReportingOptions ,
52
52
...usernameOptions ,
53
53
...accessKeyOptions ,
54
54
...debugModeOptions ,
Original file line number Diff line number Diff line change 3
3
const yargs = require ( 'yargs' ) ,
4
4
logger = require ( "./helpers/logger" ) . winstonLogger ,
5
5
Constants = require ( './helpers/constants' ) ,
6
- { commonBuildOptions, runOptions } = require ( './helpers/runnerArgs' ) ;
6
+ { disableUsageReportingOptions , commonBuildOptions, runOptions } = require ( './helpers/runnerArgs' ) ;
7
7
8
8
9
9
function checkCommands ( yargs , argv , numRequired ) {
You can’t perform that action at this time.
0 commit comments