mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-11 03:21:32 +00:00
test: migration from Python to JavaScript
This commit is contained in:
1 parent
b622665359
commit
262400a92e
8 files changed
+187
-42
No files matched your search
@@ -91,7 +91,7 @@ class Preferences {
|
||||
return obj
|
||||
}
|
||||
for (let k of Object.keys(obj)) {
|
||||
if (typeof obj[k] == 'object') {
|
||||
if (obj[k] && typeof obj[k] == 'object') {
|
||||
let o = this.findKey(obj[k], key)
|
||||
if (o !== null)
|
||||
return o
|
||||
|
||||
Reference in new issue
Block a user