This commit is contained in:
Jonas Pfalzgraf 2022-08-16 15:25:45 +02:00
parent a85764891d
commit ab222a60e3
11 changed files with 129 additions and 53 deletions

View file

@ -36,7 +36,7 @@ function findHtmlFilesRecursive(source: string): string[] {
}
function replaceKeywordsInHtmlFile(file: string) {
const content = fs.readFileSync(file, 'utf8');
let content = fs.readFileSync(file, 'utf8');
const pairs = appConfig.htmlTemplatePairs;
pairs.forEach(function (pair: object) {
// @ts-ignore