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