Fix clear script

This commit is contained in:
yflory 2022-12-21 16:02:07 +01:00
parent 96fbcc97b9
commit 3dfd2aa904
2 changed files with 2 additions and 2 deletions

View File

@ -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"
}
}

View File

@ -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');