Skip to content

Commit 9aae5b7

Browse files
committed
Try and fix condition a second time
1 parent e303f40 commit 9aae5b7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/src/runTsPerf.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)