mirror of https://github.com/xwiki-labs/cryptpad
Fix clear script
This commit is contained in:
parent
96fbcc97b9
commit
3dfd2aa904
|
@ -53,6 +53,6 @@
|
|||
"evict-inactive": "node scripts/evict-inactive.js",
|
||||
"build": "node scripts/build.js",
|
||||
"clear": "node scripts/clear.js",
|
||||
"install": "node scripts/install.js"
|
||||
"installtoken": "node scripts/install.js"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ p.ask(function (answer) {
|
|||
var n = nThen;
|
||||
Object.values(paths).forEach(function (path) {
|
||||
console.log(`Deleting ${path}`);
|
||||
fs.rmSync(path, { recursive: true, force: true });
|
||||
Fs.rmSync(path, { recursive: true, force: true });
|
||||
console.log('Deleted');
|
||||
});
|
||||
console.log('Success');
|
||||
|
|
Loading…
Reference in New Issue