aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan <[email protected]>2020-12-24 13:36:44 +1100
committerGitHub <[email protected]>2020-12-24 02:36:44 +0000
commit6a292e11d3faddbdbed8175a97aaed00a3469afa (patch)
treefab7c779727fae970a331068e947db9bf028bf07 /lib
parent3e3f93c971aec877efbee71da76b48f3f006e97c (diff)
downloadqmk_firmware-6a292e11d3faddbdbed8175a97aaed00a3469afa.tar.gz
qmk_firmware-6a292e11d3faddbdbed8175a97aaed00a3469afa.zip
`qmk fileformat`: only print complaints, and fix some of them (#11278)
Diffstat (limited to 'lib')
-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 db8e13f109..112d8d59da 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', 'git ls-files -z | xargs -0 dos2unix'])
+ dos2unix = subprocess.run(['bash', '-c', 'git ls-files -z | xargs -0 dos2unix'], stdout=subprocess.DEVNULL)
return dos2unix.returncode