Skip to content

Commit

Permalink
Merge pull request #20 from centrifuge/add-archived
Browse files Browse the repository at this point in the history
fix: add archived pools to all pools file generated by CI
  • Loading branch information
Jeroen Offerijns authored Dec 16, 2020
2 parents 2c7e2a1 + d027bcf commit 29fcb83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ fs.writeFile(__dirname + '/out/index.js', poolModule, (err) => {

const poolList = JSON.stringify(pools.reduce((l, p) => {
if (p.addresses) l[p.addresses['ROOT_CONTRACT']] = p
if (!p.addresses) l[p.metadata.slug] = p
return l
},{}))

Expand Down

0 comments on commit 29fcb83

Please sign in to comment.