diff options
| author | Fuwn <[email protected]> | 2021-05-01 11:28:03 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-01 11:28:03 +0000 |
| commit | 18c291ce037431b3943bc8ed3b34d7b873f28d42 (patch) | |
| tree | 2a7712e218b13ab07cd2a7357e27176ceb0128fb /.husky/prepare-commit-msg | |
| parent | build(nix): add niv as a build input (diff) | |
| download | whirl-18c291ce037431b3943bc8ed3b34d7b873f28d42.tar.xz whirl-18c291ce037431b3943bc8ed3b34d7b873f28d42.zip | |
chore(git): add prepare-commit-hook for commitizen
Diffstat (limited to '.husky/prepare-commit-msg')
| -rw-r--r-- | .husky/prepare-commit-msg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg new file mode 100644 index 0000000..5c18e4b --- /dev/null +++ b/.husky/prepare-commit-msg @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +exec < /dev/tty && node_modules/.bin/cz --hook || true |