chore: alertPackageRules PackageRule type

This commit is contained in:
Rhys Arkins 2021-02-22 09:54:29 +01:00
parent 7ae3ce323f
commit cdffaca4e1

View file

@ -129,7 +129,7 @@ export async function detectVulnerabilityAlerts(
logger.warn({ err }, 'Error parsing vulnerability alert');
}
}
const alertPackageRules = [];
const alertPackageRules: PackageRule[] = [];
for (const [fileName, files] of Object.entries(combinedAlerts)) {
for (const [datasource, dependencies] of Object.entries(files)) {
for (const [depName, currentValues] of Object.entries(dependencies)) {