git precommit hook fix

This commit is contained in:
Yogesh Choudhary Paliyal
2023-06-03 14:17:32 +05:30
parent fe4adb5389
commit feaaccb289
-7
View File
@@ -7,10 +7,3 @@ echo "*******************************"
# Run Spotless
./gradlew spotlessApply
./gradlew spotlessKotlinApply
# Check if lint found any errors
if [[ $? -ne 0 ]]; then
echo "Spotless found some errors. Please fix them before committing."
exit 1
fi