2024-02-26 08:18:16 +00:00
|
|
|
# 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
|
|
|
|
|
2023-02-03 10:45:11 +00:00
|
|
|
cd js
|
2024-02-01 17:48:15 +00:00
|
|
|
pnpm exec lint-staged
|