Skip to content

Commit 9069853

Browse files
committed
style: lint
1 parent b074e2d commit 9069853

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/git/changelog.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@ export default class GitChangelog {
109109
createChangesList ( { currentRelease, text = true, ansi = true } = {} ) {
110110
currentRelease ||= this.#currentRelease;
111111

112-
const lines = [];
113-
114-
lines.push( this.#createHeader( currentRelease ) );
112+
const lines = [ this.#createHeader( currentRelease ) ];
115113

116114
if ( this.hasChanges ) {
117115
for ( const group of this.#changesGroups ) {

0 commit comments

Comments
 (0)