Skip to content

Commit cfb5c04

Browse files
committed
fix: make breaking change question not swallow whitespace
1 parent 7d94d58 commit cfb5c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function createCommitMessage(config: Config): Promise<Message> {
8080
name: 'breaking',
8181
message: 'List any BREAKING CHANGES: (press enter to skip)\n',
8282
when: config.skipQuestions.indexOf('breaking') === -1,
83-
transformer: s => s.trim(),
83+
filter: s => s.trim(),
8484
},
8585

8686
{

0 commit comments

Comments
 (0)