keycloak-scim/js/.husky/pre-commit
Jon Koops 242063dc74
Fix Husky setup (#28636)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-11 14:11:06 +00:00

10 lines
215 B
Text
Executable file

# Get the path the the Husky script.
DIRNAME="$(dirname "$0")"
FILE="$DIRNAME/_/husky.sh"
# Exit if Husky is not installed.
if [ ! -f "$FILE" ]; then
exit 0;
fi
ESLINT_USE_FLAT_CONFIG=true pnpm exec lint-staged