Skip to content

Commit 45dc60b

Browse files
committed
Fix whitespace in quality-assurance.yaml file
Signed-off-by: James Bradlee <[email protected]>
1 parent 7dbb501 commit 45dc60b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/quality-assurance.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
elif [[ "${{ github.event_name }}" == "pull_request" ]]; then
4141
args=$(gh pr diff --name-only ${{ github.event.number }} | grep -E "\.kts?$" | xargs printf -- '%s\n' | tr '\n' ' ')
4242
fi
43+
args=$(echo -e "$args" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
4344
if [[ -n "$args" ]]; then
4445
echo "Running ktlint on: $args"
4546
ktlint --relative $args

0 commit comments

Comments
 (0)