refactor: use Array.from to build Array() from Map()
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 10 May 2024 14:08:21 +0000 (16:08 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 10 May 2024 14:08:21 +0000 (16:08 +0200)
commit63af54001cdb7be2f14d51be593a7f96c8c480b6
tree480072ecb71fce5099965112d130068760b8e30a
parentb1d9fd789d6642e6904dc33637e8e0761479dc60
refactor: use Array.from to build Array() from Map()

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/selection-strategies/selection-strategies-utils.ts
src/pools/selection-strategies/worker-choice-strategies-context.ts