mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-19 03:24:50 -04:00
Merge pull request #1368 from jordancarlin/pre-commit-fix
Fix pre-commit setup
This commit is contained in:
commit
85e282065e
1 changed files with 2 additions and 0 deletions
2
setup.sh
2
setup.sh
|
@ -52,8 +52,10 @@ else
|
|||
fi
|
||||
|
||||
if [ ! -e "${WALLY}/.git/hooks/pre-commit" ]; then
|
||||
pushd "${WALLY}" || exit 1
|
||||
echo "Installing pre-commit hooks"
|
||||
pre-commit install
|
||||
popd || exit
|
||||
fi
|
||||
|
||||
echo "setup done"
|
||||
|
|
Loading…
Add table
Reference in a new issue