()
| 4 | import { formatValidationErrors, parseAllChangeFiles } from "./changes.ts"; |
| 5 | |
| 6 | function getMissingChangelogPackageDirNames(): string[] { |
| 7 | let packageDirNames = getAllPackageDirNames(); |
| 8 | let missing: string[] = []; |
| 9 | |
| 10 | for (let packageDirName of packageDirNames) { |
| 11 | let changelogPath = getPackageFile(packageDirName, "CHANGELOG.md"); |
| 12 | if (!fs.existsSync(changelogPath)) { |
| 13 | missing.push(packageDirName); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | return missing; |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Validates all change files in the repository |
no test coverage detected