Jelajahi Sumber

script: Missed a newline in the commit-msg hook output

Jakob Borg 9 tahun lalu
induk
melakukan
1cdfef4d6a
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      script/commit-msg.go

+ 1 - 0
script/commit-msg.go

@@ -39,6 +39,7 @@ func main() {
 	lines := bytes.Split(bs, []byte{'\n'})
 	if !subject.Match(lines[0]) {
 		fmt.Printf(`Commit message subject:
+
     %s
 
 doesn't look like "tag: One sentence description". Specifically, it doesn't