Skip to content

Commit

Permalink
build: update conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jun 5, 2020
1 parent d699807 commit d1b6015
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/fetch-data/providers/fetch-oss.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict'

const { has } = require('lodash')
const path = require('path')

module.exports = () =>
Expand All @@ -22,5 +21,5 @@ module.exports = () =>
url: item.html_url
}
})
.filter(item => !item.fork && has(item, ['language', 'description']))
.filter(item => !item.fork && !!item.language && !!item.description)
})

0 comments on commit d1b6015

Please sign in to comment.