mirror of
https://github.com/Slug-Boi/cocommit.git
synced 2026-05-13 20:55:47 +00:00
changed the regex to better fit expected format
This commit is contained in:
@@ -52,7 +52,7 @@ func main() {
|
||||
// builds the commit message with the selected authors
|
||||
var sb strings.Builder
|
||||
sb.WriteString(string(args[0])+"\n")
|
||||
reg, _ := regexp.Compile("([^:]+):(.+)")
|
||||
reg, _ := regexp.Compile("([^:]+):([^:]+)")
|
||||
|
||||
for _, commiter := range args[1:] {
|
||||
if _, ok := users[commiter]; ok {
|
||||
|
||||
Reference in New Issue
Block a user