From 0feef8576cd744c1372644ecdac2e8434940ce81 Mon Sep 17 00:00:00 2001 From: Nguyen Tran Hau Date: Tue, 11 May 2021 04:58:37 +0000 Subject: [PATCH] docs: explain why skip error commit --- internal/cli/action_generate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/cli/action_generate.go b/internal/cli/action_generate.go index 7ee85e4..4c793a0 100644 --- a/internal/cli/action_generate.go +++ b/internal/cli/action_generate.go @@ -54,6 +54,7 @@ func (a *action) getConventionalCommits(commits []git.Commit) []convention.Commi conventionalCommit, err := convention.NewCommit(commit) if err != nil { a.log("failed to new conventional commits %+v: %s", commit, err) + // Skip bad commit and move on continue }