diff --git a/.husky/pre-commit b/.husky/pre-commit index b647737..c5c1bb9 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,5 @@ npm run test:unit npm run prettier:fix + +# Update index changes caused by prettier +git update-index --again || true