This commit is contained in:
Jonas Pfalzgraf 2022-08-16 13:13:08 +02:00
parent dbd1691445
commit 27fbfd96c2

View file

@ -1,4 +1,3 @@
import { ExecException } from 'child_process';
import * as fs from 'fs';
import * as path from 'path';
const appConfig = JSON.parse(fs.readFileSync('./app.config.json', 'utf8'));
@ -48,7 +47,7 @@ function replaceKeywordsInHtmlFile(file: string) {
}
function buildHtmlFiles(source: string) {
let files = findHtmlFilesRecursive(source);
const files = findHtmlFilesRecursive(source);
files.forEach(function (file: string) {
replaceKeywordsInHtmlFile(file);
});