mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
11 lines
342 B
JavaScript
11 lines
342 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const fs = require("fs");
|
||
|
const dir = process.argv[2];
|
||
|
if (fs.existsSync(dir)) {
|
||
|
console.log('deleting folder:' + dir);
|
||
|
fs.rmSync(dir, { recursive: true });
|
||
|
}
|
||
|
console.log('creating folder:' + dir);
|
||
|
fs.mkdirSync(dir);
|
||
|
//# sourceMappingURL=folder-reset.js.map
|