mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-06-21 18:11:08 +00:00
fix
This commit is contained in:
parent
27fbfd96c2
commit
08e9b8a569
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function findHtmlFilesRecursive(source: string): string[] {
|
||||||
|
|
||||||
function replaceKeywordsInHtmlFile(file: string) {
|
function replaceKeywordsInHtmlFile(file: string) {
|
||||||
const content = fs.readFileSync(file, 'utf8');
|
const content = fs.readFileSync(file, 'utf8');
|
||||||
let pairs = appConfig.htmlTemplatePairs;
|
const pairs = appConfig.htmlTemplatePairs;
|
||||||
pairs.forEach(function (pair: object) {
|
pairs.forEach(function (pair: object) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
content = content.replaceAll(pair.key, pair.value);
|
content = content.replaceAll(pair.key, pair.value);
|
||||||
|
|
Loading…
Add table
Reference in a new issue