mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix: correct typo (#22392)
This commit is contained in:
parent
a894b750e5
commit
800336bae9
1 changed files with 2 additions and 2 deletions
|
@ -195,9 +195,9 @@ function findTagOfRelease(
|
|||
tags: string[]
|
||||
): string | undefined {
|
||||
const regex = regEx(`(?:${packageName}|release)[@-]`, undefined, false);
|
||||
const excactReleaseRegex = regEx(`${packageName}[@\\-_]v?${depNewVersion}`);
|
||||
const exactReleaseRegex = regEx(`${packageName}[@\\-_]v?${depNewVersion}`);
|
||||
const exactTagsList = tags.filter((tag) => {
|
||||
return excactReleaseRegex.test(tag);
|
||||
return exactReleaseRegex.test(tag);
|
||||
});
|
||||
let tagName: string | undefined;
|
||||
if (exactTagsList.length) {
|
||||
|
|
Loading…
Reference in a new issue