feat(合并提交): 合并提交,log改fmt减少依赖
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
xiaoqidun 2022-03-10 09:50:10 +08:00
parent b45c7a8e32
commit d36f61bc80
2 changed files with 3 additions and 3 deletions

@ -6,7 +6,6 @@ import (
"flag"
"fmt"
"io/ioutil"
"log"
"os"
"os/exec"
"strconv"
@ -98,7 +97,7 @@ func main() {
czCommit.Closes = InputCloses()
commit := GenerateCommit(czCommit)
if err := GitCommit(commit, *amend); err != nil {
log.Println(err)
fmt.Println(err)
}
}
@ -221,6 +220,7 @@ func InputCloses() *string {
NewLine()
return &text
}
NewLine()
return nil
}

2
go.mod

@ -1,3 +1,3 @@
module github.com/xiaoqidun/gitcz
go 1.17
go 1.18