Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 50a1012

Browse files
committed
Fix typo
1 parent 3b4552b commit 50a1012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/db-manager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ class DBManager {
55
let find_db = (dbn) => {
66
if (dbn in _dbs) return _dbs[dbn]
77
Object.values(_dbs).forEach(db => {
8-
if (dbn = db.id) {
8+
if (dbn == db.id) {
99
return db
10-
} else if (dbn = [db.address.root, db.address.path].join('/')) {
10+
} else if (dbn == [db.address.root, db.address.path].join('/')) {
1111
return db
1212
}
1313
});

0 commit comments

Comments
 (0)