mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
9 lines
187 B
Bash
Executable File
9 lines
187 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Ignore husky hooks if no frontend code has been changed
|
|
git diff --cached --name-only | grep -v --quiet "^pkg/" || exit 0
|
|
|
|
. "$(dirname "$0")/_/husky.sh"
|
|
|
|
yarn run precommit
|