This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ module.exports = (self) => {
1515 const repoOpen = ! self . _repo . closed
1616
1717 const customInitOptions = typeof options . init === 'object' ? options . init : { }
18- const initOptions = Object . assign ( {
19- bits : 2048
20- } , customInitOptions )
18+ const initOptions = Object . assign ( { bits : 2048 } , customInitOptions )
2119
2220 // Checks if a repo exists, and if so opens it
2321 // Will return callback with a bool indicating the existence
@@ -88,6 +86,7 @@ module.exports = (self) => {
8886 ( cb ) => self . config . get ( cb ) ,
8987 ( config , cb ) => {
9088 extend ( config , options . config )
89+
9190 self . config . replace ( config , cb )
9291 }
9392 ] , cb )
Original file line number Diff line number Diff line change @@ -97,10 +97,10 @@ module.exports = function init (self) {
9797
9898 parallel ( tasks , ( err ) => {
9999 if ( err ) {
100- return cb ( err )
100+ cb ( err )
101+ } else {
102+ cb ( null , true )
101103 }
102-
103- cb ( null , true )
104104 } )
105105 }
106106 ] , done )
Original file line number Diff line number Diff line change 1515 "Enabled" : true
1616 }
1717 },
18- "Discovery" : {},
1918 "Bootstrap" : [
2019 " /dns4/ams-1.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd" ,
2120 " /dns4/sfo-1.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx" ,
You can’t perform that action at this time.
0 commit comments