chore: Fixed error handling

This commit is contained in:
Dennis Ploeger
2022-03-07 09:13:06 +01:00
committed by Julian Murgia
parent 46f46b28b3
commit 9e9111c7cb

View File

@@ -17,7 +17,7 @@ jobs:
token: ${{ secrets.DEPLOYMENT_TOKEN }}
- name: Remove trailing whitespace
run: |
OUTPUT=$(find . -name ".gd$" -type f | xargs sed -i 's/[[:space:]]$//')
OUTPUT=$(find . -name "*.gd" -type f | xargs sed -i 's/[[:space:]]$//')
RC=$?
if [[ $RC -ne 0 ]] && [[ $RC -ne 128 ]]
then