We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2794ae1 commit 3282686Copy full SHA for 3282686
pkg/commit/ci.go
@@ -80,7 +80,7 @@ func InputScope() string {
80
}
81
}, "Scope:")
82
83
- return p.Run()
+ return strings.TrimSpace(p.Run())
84
85
86
@@ -97,7 +97,7 @@ func InputSubject() string {
97
98
}, "Subject:")
99
100
101
102
103
// 输入完整提交信息
@@ -107,7 +107,7 @@ func InputBody() string {
107
return nil
108
}, "Body:")
109
110
- body := p.Run()
+ body := strings.TrimSpace(p.Run())
111
if body == "big" {
112
return util.OSEditInput()
113
@@ -122,7 +122,7 @@ func InputFooter() string {
122
123
}, "Footer:")
124
125
126
127
128
// 生成 SOB 签名
0 commit comments