summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-12-11 13:49:03 +0000
committerGitHub <noreply@github.com>2020-12-11 13:49:03 +0000
commit1ebd243cdc759e68205787af7d6517d89632876a (patch)
tree2d54ffa0f9f979b0af9e1fcb3e5fdbc511c70ee9 /lib/python/qmk/cli
parentb1858167177a60c16e0e8022b7a2f5ee0eb03c24 (diff)
CI automated format fixes (#11179)
* Format all C files for now, till diff logic works within CI * Fix recursion of dos2unix
Diffstat (limited to 'lib/python/qmk/cli')
-rw-r--r--lib/python/qmk/cli/fileformat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/fileformat.py b/lib/python/qmk/cli/fileformat.py
index 502a3b7b1f..db8e13f109 100644
--- a/lib/python/qmk/cli/fileformat.py
+++ b/lib/python/qmk/cli/fileformat.py
@@ -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