Showing 1 of 3 total issues
Function runCommit
has 53 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func runCommit(cco *commitOpt) (err error) {
// Sanity checks
if nc, err := tugit.StageReady(cco.Repo); !cco.Amend && !nc {
if err == nil {
err = fmt.Errorf("Nothing to commit.")
- Create a ticketCreate a ticket