chore: Fixed error handling
This commit is contained in:
1 parent
46f46b28b3
commit
9e9111c7cb
1 file changed
+1
-1
@@ -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