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],
|
||||
matchPackageNames: [depName],
|
||||
matchCurrentVersion,
|
||||
matchFiles: [fileName],
|
||||
allowedVersions,
|
||||
prBodyNotes,
|
||||
isVulnerabilityAlert: true,
|
||||
|
@ -180,7 +181,6 @@ export async function detectVulnerabilityAlerts(
|
|||
...config.vulnerabilityAlerts,
|
||||
},
|
||||
};
|
||||
matchRule.matchFiles = [fileName];
|
||||
alertPackageRules.push(matchRule);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue