Skip to content

Commit eb619d2

Browse files
authored
Fix process.env.profile when --profile isn't set in run-multiple mode (#4131)
1 parent b42190f commit eb619d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/command/run-multiple.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ let processesDone;
2828

2929
module.exports = async function (selectedRuns, options) {
3030
// registering options globally to use in config
31-
process.env.profile = options.profile;
31+
if (options.profile) {
32+
process.env.profile = options.profile;
33+
}
3234
const configFile = options.config;
3335

3436
const testRoot = getTestRoot(configFile);

0 commit comments

Comments
 (0)