mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1fb0da2668
husky v9 simplified its setup, see `How to migrate` in https://github.com/typicode/husky/releases/tag/v9.0.1 PR Close #54315
9 lines
215 B
Plaintext
Executable File
9 lines
215 B
Plaintext
Executable File
set +e
|
|
|
|
yarn -s ng-dev commit-message pre-commit-validate --file $1 2>/dev/null
|
|
if [ $? -ne 0 ]; then
|
|
echo "WARNING: failed to run commit message validation (ng-dev commit-mesage pre-commit-validate)"
|
|
fi
|
|
|
|
exit 0;
|