fix(cr): missing `return`

pull/399/head
Kobi Meirson 2022-11-05 16:41:07 +02:00
parent a9e397335a
commit af0a24a325
No known key found for this signature in database
GPG Key ID: 5D66F732B037CDE1
1 changed files with 1 additions and 3 deletions

View File

@ -31,9 +31,7 @@ import { serverDomainDefault } from './defaults';
// Migrate old logging settings to new ones
const migrateLogging = data => {
if (Object.keys(data).length === 0) {
// Not having anything to migrate, so skip this logic
}
if (Object.keys(data).length === 0) return;
const globalLogging = 'logging' in data.global && isObject(data.global.logging) ? data.global.logging : {};