Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 22, 2018
1 parent 12dd21e commit a7dea20
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/metascraper-logo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ module.exports = () => ({
wrap($ => $('img[itemprop="logo"]').attr('src')),
wrap($ => {
const sizes = getSizes($, sizeSelectors)
const size = chain(sizes)
.first()
.get('link')
.value()
const size = chain(sizes).first().get('link').value()
return size
})
]
Expand Down

0 comments on commit a7dea20

Please sign in to comment.