do not unlink config file in test mode

this was incredibly hard to debug
This commit is contained in:
Girish Ramakrishnan
2017-02-06 22:18:20 -08:00
parent 8dc929f0ff
commit 8f388c86a6
4 changed files with 7 additions and 13 deletions

View File

@@ -116,9 +116,6 @@ function initConfig() {
saveSync();
}
// cleanup any old config file we have for tests
if (exports.TEST) safe.fs.unlinkSync(cloudronConfigFileName);
initConfig();
// set(obj) or set(key, value)