Remove output
This commit is contained in:
parent
04b6684024
commit
69047857b2
@ -131,7 +131,6 @@ export class ExtractTask implements TaskInterface {
|
|||||||
const dir = path.dirname(output);
|
const dir = path.dirname(output);
|
||||||
if (!fs.existsSync(dir)) {
|
if (!fs.existsSync(dir)) {
|
||||||
mkdirp.sync(dir);
|
mkdirp.sync(dir);
|
||||||
this.out(dim('- created dir: %s'), dir);
|
|
||||||
}
|
}
|
||||||
fs.writeFileSync(output, this.compiler.compile(collection));
|
fs.writeFileSync(output, this.compiler.compile(collection));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user