Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions generator/scripts/generate-client.sh
Original file line number Diff line number Diff line change
@@ -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 .

0 comments on commit 3bd8845

Please sign in to comment.