diff --git a/scripts/fetch-data/providers/fetch-oss.js b/scripts/fetch-data/providers/fetch-oss.js index 605fe1dfd..98fb0cf13 100644 --- a/scripts/fetch-data/providers/fetch-oss.js +++ b/scripts/fetch-data/providers/fetch-oss.js @@ -1,6 +1,5 @@ 'use strict' -const { has } = require('lodash') const path = require('path') module.exports = () => @@ -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) })