File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,16 +59,16 @@ async function installHosts() {
5959 await $ `node ${ tsperfExe } host install ${ hostArgs } ` ;
6060}
6161
62- function getLocationBasedArgs ( processing : boolean ) {
63- const locations = getNonEmptyEnv ( processing ? "TSPERF_PROCESS_LOCATIONS " : "TSPERF_JOB_LOCATION " ) . split ( "," ) ;
62+ function getLocationBasedArgs ( benchmarking : boolean ) {
63+ const locations = getNonEmptyEnv ( benchmarking ? "TSPERF_JOB_LOCATION " : "TSPERF_PROCESS_LOCATIONS " ) . split ( "," ) ;
6464 const tsperfArgs = [ ] ;
6565
6666 for ( const location of locations ) {
6767 const locationUpper = location . toUpperCase ( ) ;
6868 const scenarioConfigDir = getNonEmptyEnv ( `TSPERF_${ locationUpper } _SCENARIO_CONFIG_DIR` ) ;
6969 tsperfArgs . push ( "--scenarioConfigDir" , scenarioConfigDir ) ;
7070
71- if ( ! processing ) {
71+ if ( benchmarking ) {
7272 const suiteDir = getNonEmptyEnv ( `TSPERF_${ locationUpper } _SUITE_DIR` ) ;
7373 tsperfArgs . push ( "--suite" , suiteDir ) ;
7474 }
You can’t perform that action at this time.
0 commit comments