Skip to content

Commit

Permalink
[INTERNAL] Bump ava from 5.3.1 to 6.1.2 (#985)
Browse files Browse the repository at this point in the history
[INTERNAL] Bump ava from 5.3.1 to 6.1.2
Bumps [ava](https://github.com/avajs/ava) from 5.3.1 to 6.1.2.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](avajs/[email protected])

---
updated-dependencies:
- dependency-name: ava
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Mar 4, 2024
1 parent 67b61a1 commit e901466
Show file tree
Hide file tree
Showing 10 changed files with 703 additions and 296 deletions.
4 changes: 4 additions & 0 deletions lib/processors/minifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ function getPool(taskUtil) {
let {idleWorkers, totalWorkers} = pool.stats();
while (idleWorkers !== totalWorkers && !force) {
await setTimeoutPromise(100); // Wait a bit workers to finish and try again

if (!pool) { // pool might have been terminated in the meantime
return;
}
({idleWorkers, totalWorkers} = pool.stats());
}

Expand Down
4 changes: 4 additions & 0 deletions lib/tasks/buildThemes.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ function getPool(taskUtil) {
let {idleWorkers, totalWorkers} = pool.stats();
while (idleWorkers !== totalWorkers && !force) {
await setTimeoutPromise(100); // Wait a bit workers to finish and try again

if (!pool) { // pool might have been terminated in the meantime
return;
}
({idleWorkers, totalWorkers} = pool.stats());
}

Expand Down
Loading

0 comments on commit e901466

Please sign in to comment.