mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-05 19:20:54 +00:00
fix style in app.js
This commit is contained in:
parent
7bd164aa39
commit
e607738892
1 changed files with 2 additions and 3 deletions
5
app.js
5
app.js
|
|
@ -10,11 +10,10 @@ try {
|
||||||
settings = require('./config/settings')
|
settings = require('./config/settings')
|
||||||
|
|
||||||
Object.keys(defaultSettings).forEach(settingKey => {
|
Object.keys(defaultSettings).forEach(settingKey => {
|
||||||
if(settings[settingKey] === undefined) {
|
if (settings[settingKey] === undefined) {
|
||||||
settings[settingKey] = defaultSettings[settingKey];
|
settings[settingKey] = defaultSettings[settingKey]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
settings = defaultSettings
|
settings = defaultSettings
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue