Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: typicode/husky
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v9.0.1
Choose a base ref
...
head repository: typicode/husky
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v9.0.2
Choose a head ref
  • 3 commits
  • 4 files changed
  • 4 contributors

Commits on Jan 25, 2024

  1. fix: exit code (#1336)

    * fix: exit with correct code
    
    * chore: fix engine version in package lock
    
    ---------
    
    Co-authored-by: Gergely Pap <5883922+gergelypap@users.noreply.github.com>
    gergelypap and gergelypap authored Jan 25, 2024
    Copy the full SHA
    6464059 View commit details
  2. docs: typo (#1337)

    chalkygames123 authored Jan 25, 2024
    Copy the full SHA
    25fba0a View commit details
  3. 9.0.2

    typicode committed Jan 25, 2024
    Copy the full SHA
    36fa2e5 View commit details
Showing with 6 additions and 6 deletions.
  1. +1 −1 docs/index.md
  2. +1 −1 husky.sh
  3. +3 −3 package-lock.json
  4. +1 −1 package.json
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ Support this project by becoming a sponsor [here](https://github.com/sponsors/ty
- Adheres to Git's native hook organization
- Aligns with [npm](https://docs.npmjs.com/cli/v10/using-npm/scripts#best-practices) best practices using `prepare` script
- Clear user messages
- O pt-in/opt-out options
- Opt-in/opt-out options
- Branch-specific hooks
- Supports:
- macOS, Linux, Windows
2 changes: 1 addition & 1 deletion husky.sh
Original file line number Diff line number Diff line change
@@ -17,4 +17,4 @@ c=$?

[ $c != 0 ] && echo "husky - $h script failed (code $c)"
[ $c = 127 ] && echo "husky - command not found in PATH=$PATH"
exit 1
exit $c
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "husky",
"version": "9.0.1",
"version": "9.0.2",
"description": "Modern native Git hooks",
"keywords": [
"git",