Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fail text #301

Merged
merged 1 commit into from
Jul 25, 2022
Merged

Add fail text #301

merged 1 commit into from
Jul 25, 2022

Conversation

mrexox
Copy link
Member

@mrexox mrexox commented Jul 17, 2022

Closes #266

Summary ⚡

check:
  commands:
    cmd:
      run: exit 1
      fail_text: "Try 'exit 0' instead of 'exit 1'"
> $ lefthook run check
Lefthook v1.0.4
RUNNING HOOK: check

  EXECUTE > cmd


SUMMARY: (done in 0.00 seconds)
🥊  cmd: Try 'exit 0' instead of 'exit 1'

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>
@mrexox mrexox marked this pull request as ready for review July 17, 2022 15:07
@mrexox mrexox added this to the 1.1.0 milestone Jul 17, 2022
@mrexox mrexox merged commit b1c0c9d into evilmartians:master Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Custom failure message
1 participant