summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rwxr-xr-xutils/checkstyle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/checkstyle.py b/utils/checkstyle.py
index 93a4fc70..ececb46e 100755
--- a/utils/checkstyle.py
+++ b/utils/checkstyle.py
@@ -314,7 +314,7 @@ class HeaderAddChecker(CommitChecker):
meson_files = [f for f in commit.files('M')
if os.path.basename(f) == 'meson.build']
- for filename in commit.files('A'):
+ for filename in commit.files('AR'):
if not filename.startswith('include/libcamera/') or \
not filename.endswith('.h'):
continue