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 11const Constants = require ( './constants' ) ;
22
3- const disableUsageReportingOptions = {
4- 'disable-usage-reporting' : {
5- default : undefined ,
6- description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
7- type : "boolean"
8- } ,
9- }
10-
113const usernameOptions = {
124 'u' : {
135 alias : 'username' ,
@@ -46,9 +38,17 @@ const debugModeOptions = {
4638 } ,
4739}
4840
41+ exports . disableUsageReportingOptions = {
42+ 'disable-usage-reporting' : {
43+ default : undefined ,
44+ description : Constants . cliMessages . COMMON . DISABLE_USAGE_REPORTING ,
45+ type : "boolean"
46+ } ,
47+ }
48+
4949exports . commonBuildOptions = {
5050 ...configFileOptions ,
51- ...disableUsageReportingOptions ,
51+ ...this . disableUsageReportingOptions ,
5252 ...usernameOptions ,
5353 ...accessKeyOptions ,
5454 ...debugModeOptions ,
Original file line number Diff line number Diff line change 33const yargs = require ( 'yargs' ) ,
44 logger = require ( "./helpers/logger" ) . winstonLogger ,
55 Constants = require ( './helpers/constants' ) ,
6- { commonBuildOptions, runOptions } = require ( './helpers/runnerArgs' ) ;
6+ { disableUsageReportingOptions , commonBuildOptions, runOptions } = require ( './helpers/runnerArgs' ) ;
77
88
99function checkCommands ( yargs , argv , numRequired ) {
You can’t perform that action at this time.
0 commit comments