Skip to content

Commit d2a3030

Browse files
committed
fix(conventional-changelog): rename breakingChanges to hasBreakingChanges in transform function
1 parent 665722b commit d2a3030

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/release-it/conventional-changelog-writer-options.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,8 @@ export const transform = async (commitOriginal, context) => {
185185
// a '!' but no 'BREAKING CHANGE' in body:
186186
addBreakingChanges(commit, context);
187187

188-
console.log(
189-
"🚀 ~ file: conventional-changelog-writer-options.js:189 ~ context:",
190-
context,
191-
);
192188
if (context.breakingChanges.length === 0) {
193-
context.breakingChanges = false;
189+
context.hasBreakingChanges = false;
194190
}
195191

196192
context.hasNotableChanges = true;

0 commit comments

Comments
 (0)