Mario Campos
738bd62186
Refactor changenotes validate to use helper getChangenotes
...
This reduces duplicate code between `assemble` and `validate`. It also has the benefit of fixing a bug in the current implementation of `validate`, where `isValidChangenoteFile` receives a relative file name where it should receive an absolute one.
2026-09-22 09:01:46 -05:00
Mario Campos
6041eff66b
Update validate.test.mts test names to reflect new isValidAllChangenoteFiles
...
The `isValidAllChangenoteFiles` now accepts a list of file paths rather than a file path string.
2026-09-14 13:40:10 -05:00
Mario Campos
a691c16115
Extend changetool to support directories
2026-09-11 16:04:21 -05:00
Mario Campos
15b91dbb92
Delete unnecessary .js file extension from import statement
...
Co-authored-by: Michael B. Gale <mbg@github.com >
2026-09-11 08:57:52 -05:00
Mario Campos
4375107b7e
Move withTmpFile to util.ts and update tests to use it
2026-09-10 15:36:26 -05:00
Michael B. Gale
aaa014366e
Remove unneeded Promise.resolve
2026-09-10 16:59:12 +01:00
Michael B. Gale
d23593114c
Address linter errors in validate.test.mts
2026-09-09 11:44:24 +01:00
Michael B. Gale
83d1431d4e
Migrate changetool to pr-checks
2026-09-09 11:44:23 +01:00