- 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
Generated Vendored
+2 -2
View File
@@ -361,11 +361,11 @@ class ReleaseNotesBuilder {
const orgOptions = releaseNotesData.options;
// merge fromTag info with provided info || otherwise use cached info
const fromTag = orgOptions.fromTag;
if (this.fromTag != null) {
if (this.fromTag) {
fromTag.name = this.fromTag;
}
const toTag = orgOptions.toTag;
if (this.toTag != null) {
if (this.toTag) {
toTag.name = this.toTag;
}
// merge provided values with previous options (prefer provided)
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+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
}