Revision a05247ba4593b88a23d50d6e25533a1f1fe4a0c9 authored by Andrej Ocenas on 22 June 2022, 21:45:57 UTC, committed by Andrej Ocenas on 22 June 2022, 21:45:57 UTC
1 parent 55f87b7
pre-commit
#!/bin/sh
# Ignore husky hooks if no frontend code has been changed
git diff --cached --name-only | grep -v --quiet "^pkg/" || exit 0
. "$(dirname "$0")/_/husky.sh"
yarn run precommit
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...