Skip to content

Commit

Permalink
fix: add archived pools to all pools file generated by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hieronx committed Dec 16, 2020
1 parent 4e40aaa commit d027bcf
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 d027bcf

Please sign in to comment.