diff --git a/app/config/import.js b/app/config/import.js index 4032a2da..8f6635f2 100644 --- a/app/config/import.js +++ b/app/config/import.js @@ -26,7 +26,7 @@ const _importConf = function () { const _cfgPath = readFileSync(cfgPath, 'utf8'); return {userCfg: _cfgPath, defaultCfg: _defaultCfg}; } catch (err) { - _write(cfgPath, defaultCfg); + _write(cfgPath, _defaultCfg); return {userCfg: {}, defaultCfg: _defaultCfg}; } } catch (err) {