Skip to content
Snippets Groups Projects
Unverified Commit 800336ba authored by Adam Setch's avatar Adam Setch Committed by GitHub
Browse files

fix: correct typo (#22392)

parent a894b750
No related branches found
No related tags found
No related merge requests found
...@@ -195,9 +195,9 @@ function findTagOfRelease( ...@@ -195,9 +195,9 @@ function findTagOfRelease(
tags: string[] tags: string[]
): string | undefined { ): string | undefined {
const regex = regEx(`(?:${packageName}|release)[@-]`, undefined, false); const regex = regEx(`(?:${packageName}|release)[@-]`, undefined, false);
const excactReleaseRegex = regEx(`${packageName}[@\\-_]v?${depNewVersion}`); const exactReleaseRegex = regEx(`${packageName}[@\\-_]v?${depNewVersion}`);
const exactTagsList = tags.filter((tag) => { const exactTagsList = tags.filter((tag) => {
return excactReleaseRegex.test(tag); return exactReleaseRegex.test(tag);
}); });
let tagName: string | undefined; let tagName: string | undefined;
if (exactTagsList.length) { if (exactTagsList.length) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment