forked from svrjs/svrjs
Refactor code for --reset parameter again.
This commit is contained in:
parent
2e8a4fb042
commit
8be7735e71
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Reference in a new issue