summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/fileformat.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-11 13:49:45 +0000
committerQMK Bot <hello@qmk.fm>2020-12-11 13:49:45 +0000
commit6873c4cf9139715c30cbb816c4b4b3381be35062 (patch)
tree20446c147525fe8330c18bfb28af3f760e6dda8a /lib/python/qmk/cli/fileformat.py
parenta023484d6434fa9bca6a89ae1b54d1764c2e96df (diff)
parent4b03b6f7f42a9d25ae00f4d34b0a6151ad2e0e80 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/fileformat.py')
-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