fix: also check other files

This commit is contained in:
Ashley Engelund (weedySeaDragon @ github) 2022-09-07 11:02:22 -07:00
parent d0074356e9
commit 73abcd869c
1 changed files with 3 additions and 2 deletions

View File

@ -207,8 +207,9 @@ const transformHtml = (filename: string) => {
const otherFiles = await globby([sourceDirGlob, '!**/*.md', '!**/*.html'], {
dot: includeFilesStartingWithDot,
});
otherFiles.forEach((file) => {
copyTransformedContents(file);
otherFiles.forEach((file: string) => {
const transformedContents = readSyncedUTF8file(file); // no transformation is done; just get the contents
copyTransformedContents(file, transformedContents, !verifyOnly);
});
if (filesWereTransformed) {