Skip to content

Commit c6b51f1

Browse files
committed
fix missing arg
1 parent e343aeb commit c6b51f1

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

bin/helpers/runnerArgs.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
const 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-
113
const 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+
4949
exports.commonBuildOptions = {
5050
...configFileOptions,
51-
...disableUsageReportingOptions,
51+
...this.disableUsageReportingOptions,
5252
...usernameOptions,
5353
...accessKeyOptions,
5454
...debugModeOptions,

bin/runner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const 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

99
function checkCommands(yargs, argv, numRequired) {

0 commit comments

Comments
 (0)