summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-02-02 16:33:17 +0000
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commit0ca620a7f62c45e3e7e919488a679a410f236556 (patch)
tree8a23fc4e7e7caf66a7f8846664dffd1464226c3e /lib
parentb1f101030b295fbf3f49977b5625a7e29a5946aa (diff)
Fix cformat processing files within ignore folders (#8063)
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/cli/cformat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/cformat.py b/lib/python/qmk/cli/cformat.py
index fe1edef60b..de55218ae9 100644
--- a/lib/python/qmk/cli/cformat.py
+++ b/lib/python/qmk/cli/cformat.py
@@ -29,6 +29,7 @@ def cformat(cli):
for dirpath, dirnames, filenames in os.walk(dir):
if any(i in dirpath for i in ignores):
dirnames.clear()
+ continue
for name in filenames:
if name.endswith(('.c', '.h', '.cpp')):