chore: Fixed error handling
This commit is contained in:
committed by
Julian Murgia
parent
46f46b28b3
commit
9e9111c7cb
2
.github/workflows/prerelease.yml
vendored
2
.github/workflows/prerelease.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
token: ${{ secrets.DEPLOYMENT_TOKEN }}
|
token: ${{ secrets.DEPLOYMENT_TOKEN }}
|
||||||
- name: Remove trailing whitespace
|
- name: Remove trailing whitespace
|
||||||
run: |
|
run: |
|
||||||
OUTPUT=$(find . -name ".gd$" -type f | xargs sed -i 's/[[:space:]]$//')
|
OUTPUT=$(find . -name "*.gd" -type f | xargs sed -i 's/[[:space:]]$//')
|
||||||
RC=$?
|
RC=$?
|
||||||
if [[ $RC -ne 0 ]] && [[ $RC -ne 128 ]]
|
if [[ $RC -ne 0 ]] && [[ $RC -ne 128 ]]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user