mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
refactor: matchFiles
This commit is contained in:
parent
e9297944ab
commit
256fe01a4c
1 changed files with 1 additions and 1 deletions
|
@ -173,6 +173,7 @@ export async function detectVulnerabilityAlerts(
|
||||||
matchDatasources: [datasource],
|
matchDatasources: [datasource],
|
||||||
matchPackageNames: [depName],
|
matchPackageNames: [depName],
|
||||||
matchCurrentVersion,
|
matchCurrentVersion,
|
||||||
|
matchFiles: [fileName],
|
||||||
allowedVersions,
|
allowedVersions,
|
||||||
prBodyNotes,
|
prBodyNotes,
|
||||||
isVulnerabilityAlert: true,
|
isVulnerabilityAlert: true,
|
||||||
|
@ -180,7 +181,6 @@ export async function detectVulnerabilityAlerts(
|
||||||
...config.vulnerabilityAlerts,
|
...config.vulnerabilityAlerts,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
matchRule.matchFiles = [fileName];
|
|
||||||
alertPackageRules.push(matchRule);
|
alertPackageRules.push(matchRule);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue