mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
15 lines
233 B
Bash
Executable File
15 lines
233 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Get the path the the Husky script.
|
|
FILE="$(dirname "$0")/_/husky.sh"
|
|
|
|
# Exit if Husky is not installed.
|
|
if [ ! -f "$FILE" ]; then
|
|
exit 0;
|
|
fi
|
|
|
|
# Run the Husky script, and pre-commit hooks.
|
|
. $FILE
|
|
cd js
|
|
npx lint-staged
|