Skip to content

Commit

Permalink
Update workers.js
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Bodnarchuk <DavertMik@users.noreply.github.com>
  • Loading branch information
kobenguyent and DavertMik authored Oct 29, 2023
1 parent cf0a0c7 commit 696c7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ class Workers extends EventEmitter {
recorder.startUnlessRunning();
event.dispatcher.emit(event.workers.before);
// expose this to manage events better when using run-workers command
process.env.RUN_WITH_WORKERS = 'true';
process.env.RUNS_WITH_WORKERS = 'true';
recorder.add('starting workers', () => {
for (const worker of this.workers) {
const workerThread = createWorker(worker);
Expand Down

0 comments on commit 696c7f0

Please sign in to comment.