forked from svrjs/svrjs
Fix bug in factoryReset() function.
This commit is contained in:
parent
eafc2f076e
commit
98b251b867
1 changed files with 1 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -49,7 +49,7 @@ function factoryReset() {
|
|||
deleteFolderRecursive(__dirname + "/temp");
|
||||
fs.mkdirSync(__dirname + "/temp");
|
||||
console.log("Removing configuration file...");
|
||||
fs.unlinkSync("config.json");
|
||||
fs.unlinkSync(__dirname + "/config.json");
|
||||
console.log("Done!");
|
||||
process.exit(0);
|
||||
}
|
||||
|
|
Reference in a new issue