Skip to content

Commit

Permalink
chore(ci): print line numbers with trailing spaces (#21568)
Browse files Browse the repository at this point in the history
  • Loading branch information
pront authored Oct 21, 2024
1 parent baf6a55 commit efc9db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ for FILE in $(git ls-files); do
fi

# check that the lines don't contain trailing spaces
if grep ' $' "$FILE" > /dev/null; then
if grep -n ' $' "$FILE"; then
case "$MODE" in
check)
echo "File \"$FILE\" contains trailing spaces in some of the lines"
Expand Down

0 comments on commit efc9db9

Please sign in to comment.