- fix problem resulting in toTag and fromTag name not correctly set after retrieving from cache
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user