chore: fix formatting

This commit is contained in:
2025-01-30 10:10:42 +03:00
parent 4463a32ae7
commit d201aae6e0
19 changed files with 253 additions and 147 deletions

View File

@ -245,10 +245,13 @@ func gitVersionCmd(hc interp.HandlerContext, cmd string, args []string) error {
return fmt.Errorf("git-version: %w", err)
}
commits.ForEach(func(*object.Commit) error {
err = commits.ForEach(func(*object.Commit) error {
revNum++
return nil
})
if err != nil {
return fmt.Errorf("git-version: %w", err)
}
HEAD, err := r.Head()
if err != nil {