Revision dfed68feedaaffa6e0feb6a25d051000bd87b4d0 authored by Hamas Shafiq on 12 December 2022, 17:08:01 UTC, committed by GitHub on 12 December 2022, 17:08:01 UTC
1 parent 5424ec4
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 ...