chore(zuul): lint job now enforces linux line endings
Change-Id: I6e557b690782fc479d361eb7664a62003927676e
This commit is contained in:
parent
3ef27b21d3
commit
c105d75d2c
@ -29,3 +29,9 @@
|
||||
failed_when: result.stdout != ""
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
- name: Check for Windows line endings
|
||||
command: grep --files-with-match --recursive -I --binary --exclude-dir=.git --perl-regexp '\r$' .
|
||||
register: line_endings_result
|
||||
failed_when: line_endings_result.rc == 0
|
||||
args:
|
||||
chdir: "{{ zuul.project.src_dir }}"
|
||||
|
Loading…
Reference in New Issue
Block a user