Update build.js

This commit is contained in:
Stripes
2022-10-27 09:11:22 +03:00
committed by GitHub
parent e914a9db2b
commit 1bdd3674ae
+1 -1
View File
@@ -99,7 +99,7 @@ needle.get(`https://${config['netlify-domain']}/lastUpdate.json`, config.needle,
meta.issueNumber = addon.number
meta.commentCount = (addon.comments || {}).totalCount || 0
meta.postId = addon.id
if (score > -10) {
if (score > config['minimum-score']) {
meta.score = score
addons.push(meta)
} else {