v2.1.0 push 1

changed some things
This commit is contained in:
DJj123dj
2022-06-08 17:13:53 +02:00
parent 9b378caff5
commit 62a1f0f8c1
11 changed files with 68 additions and 45 deletions
+2 -2
View File
@@ -23,14 +23,14 @@ ask()
const runClear = async () => {
const chalk = await (await import("chalk")).default
console.log(chalk.blue("You can get a node.js warning below, just ignore that, it's not important!"))
//console.log(chalk.blue("You can get a node.js warning below, just ignore that, it's not important!"))
const dataPaths = ["./storage/dynamicDB"]
var index = 0
dataPaths.forEach((path) => {
try {
fs.rmdirSync(path,{recursive:true,force:true})
fs.rmSync(path,{recursive:true,force:true})
}catch{
//console.log(path,"doesn't exist")
}