Skip to content

[BUG] It should not failed hook when no commits yet #251

@shenxianpeng

Description

@shenxianpeng

Thanks! Seems good except for some of the commands: check-branch, check-author-email and check-commit-signoff

The signoff and email commands both fails with this error:

check failed => Repo has no commits yet.

Originally posted by @jplu in #242

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions