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

Package: Remove beta flag, is stable enough for now
This commit is contained in:
Jonatan Nilsson 2022-08-13 01:48:05 +00:00
commit 1995b38510

View file

@ -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 } })