Skip to content

v0.3.2

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Feb 11:26
· 1 commit to main since this release

πŸš€ Improvements & Refinements

  • Lean Implementation: Removed .husky/_/husky.sh in favor of direct skip logic in hook templates, keeping the .husky/ directory clean.
  • Improved templates: husky add now generates hooks with [ "$HUSKY" = "0" ] && exit 0 for explicit and transparent skip logic.
  • Robustness: Enhanced build.rs and husky init to gracefully handle environments without Git or outside a Git repository.
  • Incremental efficiency: build.rs now skips redundant git config calls if core.hooksPath is already correctly set.