Skip to content

Commit da54f45

Browse files
committed
refactor: update changelog report
1 parent 10b596d commit da54f45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/git/changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export default class GitChangelog {
215215
}
216216

217217
// notable changes
218-
const notableChanges = this.#changes.getChanges( change => change.isBreakingChange || commitTypes[ change.type ].notableChange );
218+
const notableChanges = this.#changes.getChanges( change => change.isBreakingChange || commitTypes[ change.type ]?.notableChange );
219219
this.#notableChanges += notableChanges.length;
220220

221221
// breaking changes

0 commit comments

Comments
 (0)