fix(core): update
This commit is contained in:
parent
ebcf89520a
commit
7a6f9d9569
@ -11,7 +11,7 @@ export class HtmlHandler {
|
|||||||
|
|
||||||
// copies the html
|
// copies the html
|
||||||
public async copyHtml() {
|
public async copyHtml() {
|
||||||
if (!(await this.checkIfExists)) {
|
if (!(await this.checkIfExists())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
await plugins.smartfile.fs.copy(this.sourceFilePath, this.targetFilePath);
|
await plugins.smartfile.fs.copy(this.sourceFilePath, this.targetFilePath);
|
||||||
@ -19,7 +19,7 @@ export class HtmlHandler {
|
|||||||
|
|
||||||
// copies and minifies the html
|
// copies and minifies the html
|
||||||
public async minifyHtml() {
|
public async minifyHtml() {
|
||||||
if (!(await this.checkIfExists)) {
|
if (!(await this.checkIfExists())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const fileString = plugins.smartfile.fs.toStringSync(this.sourceFilePath);
|
const fileString = plugins.smartfile.fs.toStringSync(this.sourceFilePath);
|
||||||
|
Loading…
Reference in New Issue
Block a user