13
0
Fork 0
mirror of https://github.com/PaulHatch/semantic-version.git synced 2026-07-03 11:39:32 +00:00

Remove incorrect "reverse" on previous tags

This commit is contained in:
Paul Hatcherian 2023-04-07 17:59:35 -10:00
parent f9d3daa396
commit 9a5d07b45d
5 changed files with 55 additions and 5 deletions

View file

@ -58,7 +58,6 @@ class DefaultLastReleaseResolver {
tag = yield (0, CommandRunner_1.cmd)(command);
tag = tag
.split('\n')
.reverse()
.find(t => tagFormatter.IsValid(t) && t !== currentTag) || '';
}
else {