@@ -54,7 +54,7 @@ module.exports = (options) => {
54
54
return (
55
55
`Short, imperative tense description of the change (max ${
56
56
helpers . maxSummaryLength ( options , answers )
57
- } chars):\n `
57
+ } chars):`
58
58
) ;
59
59
} ,
60
60
default : options . defaultSubject ,
@@ -82,7 +82,7 @@ module.exports = (options) => {
82
82
type : 'input' ,
83
83
name : 'body' ,
84
84
message :
85
- 'Longer description of the change: (enter to skip)\n ' ,
85
+ 'Longer description of the change: (enter to skip): ' ,
86
86
default : options . defaultBody ,
87
87
} ,
88
88
{
@@ -96,7 +96,7 @@ module.exports = (options) => {
96
96
name : 'breakingBody' ,
97
97
default : '-' ,
98
98
message :
99
- 'Breaking change requires a body :\n ' ,
99
+ 'Breaking change requires a body :' ,
100
100
when ( answers ) {
101
101
return answers . isBreaking && ! answers . body ;
102
102
} ,
@@ -110,7 +110,7 @@ module.exports = (options) => {
110
110
{
111
111
type : 'input' ,
112
112
name : 'breaking' ,
113
- message : 'Describe the breaking changes:\n ' ,
113
+ message : 'Describe the breaking changes:' ,
114
114
when ( answers ) {
115
115
return answers . isBreaking ;
116
116
} ,
@@ -127,7 +127,7 @@ module.exports = (options) => {
127
127
name : 'issuesBody' ,
128
128
default : '-' ,
129
129
message :
130
- 'If issues are closed, the commit requires a body :\n ' ,
130
+ 'If issues are closed, the commit requires a body: ' ,
131
131
when ( answers ) {
132
132
return (
133
133
answers . isIssueAffected && ! answers . body && ! answers . breakingBody
@@ -137,7 +137,7 @@ module.exports = (options) => {
137
137
{
138
138
type : 'input' ,
139
139
name : 'issues' ,
140
- message : 'Issue references, "fix #123", "close #123" :\n ' ,
140
+ message : 'Issue references, "fix #123", "close #123": ' ,
141
141
when ( answers ) {
142
142
return answers . isIssueAffected ;
143
143
} ,
0 commit comments