Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: correct typo (#22392)
  • Loading branch information
setchy committed May 24, 2023
1 parent a894b75 commit 800336b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/workers/repository/update/pr/changelog/source-github.ts
Expand Up @@ -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) {
Expand Down

0 comments on commit 800336b

Please sign in to comment.