mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Write contents of default config to hyper.js (#2128)
This commit is contained in:
parent
6b886afc36
commit
26abc6bd15
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue