From 9e9111c7cb9e9e6270ab655a9bf882d142a13a6d Mon Sep 17 00:00:00 2001 From: Dennis Ploeger Date: Mon, 7 Mar 2022 09:13:06 +0100 Subject: [PATCH] chore: Fixed error handling --- .github/workflows/prerelease.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index cdb81429..1c0b3dda 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -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