refactor: split line into two lines to improve readability

This commit is contained in:
geolffrey 2021-05-07 12:49:06 -06:00 committed by Mark Robert Henderson
parent bbae301524
commit 545a1b7afe

View File

@ -41,7 +41,9 @@ class OrbitDB {
this.identity = identity
this.id = options.peerId
this._pubsub = !options.offline ?
new (options.broker ? options.broker : Pubsub)(this._ipfs, this.id)
new (
options.broker ? options.broker : Pubsub
)(this._ipfs, this.id)
: null
this.directory = options.directory || './orbitdb'
this.storage = options.storage