You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -265,14 +265,14 @@ export default class GitChangelog {
265
265
}
266
266
267
267
#createHeader (endRelease){
268
-
if(this.#parentRelease&&endRelease){
269
-
return`**Changes between the releases: \`${this.#parentRelease.versionString}\` (${this.#parentRelease.changelogDate}) ... \`${endRelease.versionString}\` (${endRelease.changelogDate})**`;
268
+
if(this.#startRelease&&endRelease){
269
+
return`**Changes between the releases: \`${this.#startRelease.versionString}\` (${this.#startRelease.changelogDate}) ... \`${endRelease.versionString}\` (${endRelease.changelogDate})**`;
270
270
}
271
-
elseif(!this.#parentRelease&&endRelease){
271
+
elseif(!this.#startRelease&&endRelease){
272
272
return`**Changes for the release: \`${endRelease.versionString}\` (${endRelease.changelogDate})**`;
273
273
}
274
-
elseif(this.#parentRelease&&!this.#endRelease ){
275
-
return`**Changes since the release: \`${this.#parentRelease.versionString}\` (${this.#parentRelease.changelogDate})**`;
274
+
elseif(this.#startRelease&&!this.#endRelease ){
275
+
return`**Changes since the release: \`${this.#startRelease.versionString}\` (${this.#startRelease.changelogDate})**`;
0 commit comments