Skip to content

Commit

Permalink
refactor: revert formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
  • Loading branch information
jerome-benoit committed Oct 29, 2024
1 parent 05ddba5 commit eb777c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ export default class Task extends EventTarget {
const promises: Promise<void>[] = []; // only for task level concurrency
while (
(totalTime < time
|| samples.length + limit.activeCount + limit.pendingCount
< iterations)
|| samples.length + limit.activeCount + limit.pendingCount < iterations)
&& !this.bench.signal?.aborted
) {
if (this.bench.concurrency === 'task') {
Expand Down

0 comments on commit eb777c9

Please sign in to comment.