Update 0.21-0.22.js
This commit is contained in:
parent
e793edf9cf
commit
43c2db796a
@ -8,7 +8,8 @@ const logger = Logger.create('orbit-db')
|
||||
Logger.setLogLevel('ERROR')
|
||||
|
||||
async function migrate (OrbitDB, options, dbAddress) {
|
||||
let oldCache = OrbitDB.caches[options.directory]; let oldStore
|
||||
let oldCache = OrbitDB.caches[options.directory]
|
||||
let oldStore
|
||||
|
||||
if (!oldCache) {
|
||||
const addr = path.join(OrbitDB.directory, dbAddress.root, dbAddress.path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user