Skip to content

Commit

Permalink
Fix process.env.profile when --profile isn't set in run-multiple mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
mirao authored Jan 13, 2024
1 parent b42190f commit eb619d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/command/run-multiple.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ let processesDone;

module.exports = async function (selectedRuns, options) {
// registering options globally to use in config
process.env.profile = options.profile;
if (options.profile) {
process.env.profile = options.profile;
}
const configFile = options.config;

const testRoot = getTestRoot(configFile);
Expand Down

0 comments on commit eb619d2

Please sign in to comment.