Closed Connormiha closed 1 year ago
A little simplification with single reduce instead of filter+forEach. And startsWith instead of indexOf.
reduce
filter
forEach
startsWith
indexOf
Looks great, thanks. CI will complain in a moment that there's no changelog entry. Can you add one please?
https://github.com/siimon/prom-client/releases/tag/v15.1.0
A little simplification with single
reduce
instead offilter
+forEach
. AndstartsWith
instead ofindexOf
.