File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 40
40
commitText += tagTitle ;
41
41
42
42
onComponentPrompt ( 'component' , fieldTexts . component ) . then ( function ( componentInput ) {
43
- if ( componentInput ) {
43
+ if ( componentInput ) {
44
44
//TODO: Use prefix or subfix that we hace on the config instead.
45
45
commitText += '(' + componentInput + '): ' ;
46
46
}
86
86
function onDescPrompt ( field , desc , tagTitleLength ) {
87
87
if ( ! desc ) { return Promise . resolve ( '' ) ; }
88
88
return onAskFor ( field , desc ) . then ( function ( commitDesc ) {
89
- parseDesc ( commitDesc , tagTitleLength )
89
+ parseDesc ( commitDesc , tagTitleLength ) ;
90
90
} ) ;
91
91
}
92
92
93
93
function parseDesc ( commitDesc , tagTitleLength ) {
94
- if ( ! commitDesc ) { return '' ; }
95
94
var newDesc ;
96
95
96
+ if ( ! commitDesc ) { return '' ; }
97
+
97
98
newDesc = '\n\n' ;
98
99
newDesc += new Array ( tagTitleLength ) . join ( ' ' ) ;
99
100
newDesc += ' - ' + commitDesc ;
You can’t perform that action at this time.
0 commit comments