Add repositories_skipped option (#251)

This commit is contained in:
Simon Lecoq
2021-04-22 13:56:26 +02:00
committed by GitHub
parent 41d03c0205
commit a92243854a
5 changed files with 17 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
//Load inputs
let {ignored, skipped, colors, details, threshold, limit} = imports.metadata.plugins.languages.inputs({data, account, q})
threshold = (Number(threshold.replace(/%$/, ""))||0)/100
skipped.push(...data.shared["repositories.skipped"])
if (!limit)
limit = Infinity