diff --git a/generator/scripts/generate-client.sh b/generator/scripts/generate-client.sh index 488a6686..0c7e02e4 100755 --- a/generator/scripts/generate-client.sh +++ b/generator/scripts/generate-client.sh @@ -16,9 +16,11 @@ black . # Apply the patches required cd .. + +echo -e "\nApplying patch" git apply --verbose generator/data/__init__.patch || { -# git apply failed! Warn the user -echo -e "$(tput setaf 1)\n\nFailed to apply patch. Client generation INCOMPLETE!\n\nPlease, ensure to fix this before proceeding.\n\n\n" -exit 1 + # git apply failed! Warn the user + echo -e "$(tput setaf 1)\n\nFailed to apply patch. Client generation INCOMPLETE!\n\nPlease, ensure to fix this before proceeding.\nTake care when committing unpatched code.\n\n" + exit 1 } black .