Function
SimplePrint
(type: VersionType, releases: Array<Release>)
Source from the content-addressed store, hash-verified
| 70 | } |
| 71 | |
| 72 | function SimplePrint(type: VersionType, releases: Array<Release>) { |
| 73 | const packages = releases.filter((r) => r.type === type); |
| 74 | if (packages.length) { |
| 75 | info(`Packages to be bumped at ${pc.green(type)}:\n`); |
| 76 | |
| 77 | const pkgs = packages.map(({ name }) => `- ${name}`).join("\n"); |
| 78 | log(pc.green(pkgs)); |
| 79 | } else { |
| 80 | info(`${pc.green("NO")} packages to be bumped at ${pc.green(type)}`); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | function verbosePrint( |
| 85 | type: VersionType, |
Callers
nothing calls this directly
Tested by
no test coverage detected