1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Check for trailing spaces

This commit is contained in:
Nobuyoshi Nakada 2021-03-04 11:39:45 +09:00
parent 1876782155
commit dea08758be
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -9,6 +9,9 @@ jobs:
- name: Check if C-sources are US-ASCII - name: Check if C-sources are US-ASCII
run: | run: |
! grep -r -n '[^ -~]' *.[chy] include internal win32/*.[ch] ! grep -r -n '[^ -~]' *.[chy] include internal win32/*.[ch]
- name: Check for trailing spaces
run: |
! git grep -n '[ ]$' '*.rb' '*.[chy]'
- name: Check for header macros - name: Check for header macros
run: | run: |
! for header in ruby/*.h; do \ ! for header in ruby/*.h; do \