1
0
Fork 0
forked from svrjs/svrjs

Refactor code for --reset parameter again.

This commit is contained in:
Dorian Niemiec 2024-08-24 19:49:36 +02:00
parent 2e8a4fb042
commit 8be7735e71

View file

@ -59,7 +59,7 @@ for (let i = (process.argv[0].indexOf("node") > -1 || process.argv[0].indexOf("b
deleteFolderRecursive(process.dirname + "/temp");
fs.mkdirSync(process.dirname + "/temp");
console.log("Removing configuration file...");
fs.unlinkSync(process.dirname + "config.json");
fs.unlinkSync(process.dirname + "/config.json");
console.log("Done!");
process.exit(0);
} else if (args[i] == "--disable-mods") {