Skip to content

Commit

Permalink
chore: alertPackageRules PackageRule type
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed Feb 22, 2021
1 parent 7ae3ce3 commit cdffaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/workers/repository/init/vulnerability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit cdffaca

Please sign in to comment.