(status)
| 372 | } |
| 373 | |
| 374 | function withStatus(status) { |
| 375 | return pending.filter(pkg => results.get(pkg.name) === status); |
| 376 | } |
| 377 | |
| 378 | const published = [...withStatus('published'), ...withStatus('already-published')]; |
| 379 | const needsBootstrap = withStatus('needs-bootstrap'); |