mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-08 14:32:05 -03:30
make sure the index.ts file doesn't change (#35818)
to ensure backwards compatibility Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
parent
f8f2b476a1
commit
97f4a0d80f
@ -28,5 +28,11 @@ pnpm install --reporter=silent || {
|
||||
exit 0;
|
||||
}
|
||||
|
||||
if git diff --name-only --cached | grep 'index.ts$'
|
||||
then
|
||||
echo "pre-commit: Aborting you can't change the index.ts file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Run lint-staged.
|
||||
pnpm exec lint-staged
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user