bw-mini-app/.husky/commit-msg

4 lines
95 B
Bash

#!/usr/bin/env sh
# 运行 commitlint 检查 commit message
npx --no -- commitlint --edit ${1}