CI automated format fixes (#11179)

* Format all C files for now, till diff logic works within CI

* Fix recursion of dos2unix
This commit is contained in:
Joel Challis authored and GitHub committed 2020-12-11 13:49:03 +00:00
1 parent b185816717
commit 1ebd243cdc
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -9,5 +9,5 @@ import subprocess
def fileformat(cli):
"""Run several general formatting commands.
"""
dos2unix = subprocess.run(['bash', '-c', 'dos2unix **'])
dos2unix = subprocess.run(['bash', '-c', 'git ls-files -z | xargs -0 dos2unix'])
return dos2unix.returncode