Skip to content

Commit 5d56d51

Browse files
Roshan NikamRoshan Nikam
authored andcommitted
getting raw user data
1 parent 66b15b0 commit 5d56d51

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/commands/runs.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ const archiver = require("../helpers/archiver"),
1616
downloadBuildArtifacts = require('../helpers/buildArtifacts').downloadBuildArtifacts,
1717
updateNotifier = require('update-notifier'),
1818
pkg = require('../../package.json');
19-
module.exports = function run(args) {
19+
module.exports = function run(args, rawArgs) {
2020
let bsConfigPath = utils.getConfigPath(args.cf);
21-
let rawArgs = args;
2221
//Delete build_results.txt from log folder if already present.
2322
initTimeComponents();
2423
instrumentEventTime("cliStart")

bin/runner.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ var argv = yargs
116116
}
117117
})
118118
.command('run', Constants.cliMessages.RUN.INFO, function(yargs) {
119+
let rawArgv = yargs.argv;
119120
argv = yargs
120121
.usage('usage: $0 run <options>')
121122
.options({
@@ -232,7 +233,7 @@ var argv = yargs
232233
.wrap(null)
233234
.argv
234235
if (checkCommands(yargs, argv, 1)) {
235-
return require('./commands/runs')(argv);
236+
return require('./commands/runs')(argv, rawArgv);
236237
}
237238
})
238239
.command('generate-report', Constants.cliMessages.GENERATE_REPORT.INFO, function(yargs) {

0 commit comments

Comments
 (0)