We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b074e2d commit 9069853Copy full SHA for 9069853
1 file changed
lib/git/changelog.js
@@ -109,9 +109,7 @@ export default class GitChangelog {
109
createChangesList ( { currentRelease, text = true, ansi = true } = {} ) {
110
currentRelease ||= this.#currentRelease;
111
112
- const lines = [];
113
-
114
- lines.push( this.#createHeader( currentRelease ) );
+ const lines = [ this.#createHeader( currentRelease ) ];
115
116
if ( this.hasChanges ) {
117
for ( const group of this.#changesGroups ) {
0 commit comments