File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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" )
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments