- fix problem resulting in toTag and fromTag name not correctly set after retrieving from cache

This commit is contained in:
Mike Penz
2023-07-18 20:07:34 +00:00
committed by GitHub
parent 71a648136a
commit da760e9604
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -130,11 +130,11 @@ export class ReleaseNotesBuilder {
// merge fromTag info with provided info || otherwise use cached info
const fromTag: TagInfo = orgOptions.fromTag
if (this.fromTag != null) {
if (this.fromTag) {
fromTag.name = this.fromTag
}
const toTag: TagInfo = orgOptions.toTag
if (this.toTag != null) {
if (this.toTag) {
toTag.name = this.toTag
}