git: checkConfig no longer checks repo url. Git being down or latest version being unfetchable should not stop services from starting up.
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
Package: Remove beta flag, is stable enough for now
This commit is contained in:
commit
1995b38510
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@ export default function GetDB(config, log, orgFilename = 'db.json') {
|
|||
return db.read()
|
||||
.then(function() {
|
||||
if (!isObject(db.data)) {
|
||||
db.log.warn(`File ${fullpath} was empty or not a json object, clearing it.`)
|
||||
if (fullpath !== 'in-memory') {
|
||||
db.log.warn(`File ${fullpath} was empty or not a json object, clearing it.`)
|
||||
}
|
||||
db.data = {}
|
||||
}
|
||||
defaults(db.data, { core: { version: 1 } })
|
||||
|
|
Loading…
Reference in a new issue