diff --git a/modules/conventional-changelog-e2e-tools/conventional-recommended-bump.js b/modules/conventional-changelog-e2e-tools/conventional-recommended-bump.js index 4b006741..c6cb448f 100644 --- a/modules/conventional-changelog-e2e-tools/conventional-recommended-bump.js +++ b/modules/conventional-changelog-e2e-tools/conventional-recommended-bump.js @@ -13,7 +13,7 @@ module.exports = { whatBump: (commits) => { const bumps = commits.map((commit) => { - const bodyLines = (commit.body ?? '').toLowerCase().split('\n').filter(Boolean) + const bodyLines = (commit.body || '').toLowerCase().split('\n').filter(Boolean) if (bodyLines.includes('bump major')) { return levels.major }