File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ var filterSubject = function(subject, disableSubjectLowerCase) {
33
33
return subject ;
34
34
} ;
35
35
36
+ var getBody = function ( answers ) {
37
+ return answers . body || answers . breakingBody || answers . issuesBody
38
+ }
39
+
36
40
// This can be any kind of SystemJS compatible module.
37
41
// We use Commonjs here, but ES6 or AMD would do just
38
42
// fine.
@@ -203,7 +207,8 @@ module.exports = function(options) {
203
207
var head = answers . type + scope + ': ' + answers . subject ;
204
208
205
209
// Wrap these lines at options.maxLineWidth characters
206
- var body = answers . body ? wrap ( answers . body , wrapOptions ) : false ;
210
+ var body = getBody ( answers )
211
+ body = body ? wrap ( body , wrapOptions ) : false ;
207
212
208
213
// Apply breaking change prefix, removing it if already present
209
214
var breaking = answers . breaking ? answers . breaking . trim ( ) : '' ;
You can’t perform that action at this time.
0 commit comments