Skip to content

Commit a044169

Browse files
authored
fix: allow emoji option to be overridden in config file (#78)
1 parent 57e5b5c commit a044169

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cli
2424
.option('-d, --draft', 'Mark release as draft')
2525
.option('--output <path>', 'Output to file instead of sending to GitHub')
2626
.option('--capitalize', 'Should capitalize for each comment message')
27-
.option('--emoji', 'Use emojis in section titles', { default: true })
27+
.option('--emoji', 'Use emojis in section titles')
2828
.option('--group', 'Nest commit messages under their scopes')
2929
.option('--dry', 'Dry run')
3030
.option('--assets <paths...>', 'Files to upload as assets to the release. Use quotes to prevent shell glob expansion, e.g., "--assets \'dist/*.js\'"')

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const defaultConfig = {
1616
breakingChanges: '🚨 Breaking Changes',
1717
},
1818
contributors: true,
19+
emoji: true,
1920
capitalize: true,
2021
group: true,
2122
tag: 'v%s',

0 commit comments

Comments
 (0)