mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-06-21 18:11:08 +00:00
cleaning
This commit is contained in:
parent
dbd1691445
commit
27fbfd96c2
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
import { ExecException } from 'child_process';
|
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
const appConfig = JSON.parse(fs.readFileSync('./app.config.json', 'utf8'));
|
const appConfig = JSON.parse(fs.readFileSync('./app.config.json', 'utf8'));
|
||||||
|
@ -48,7 +47,7 @@ function replaceKeywordsInHtmlFile(file: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildHtmlFiles(source: string) {
|
function buildHtmlFiles(source: string) {
|
||||||
let files = findHtmlFilesRecursive(source);
|
const files = findHtmlFilesRecursive(source);
|
||||||
files.forEach(function (file: string) {
|
files.forEach(function (file: string) {
|
||||||
replaceKeywordsInHtmlFile(file);
|
replaceKeywordsInHtmlFile(file);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue