blob: 24476a0e1644d57c5db38d8ee8eae9798e1fe6cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/clant/clant.py
+++ b/clant/clant.py
@@ -170,7 +170,7 @@
if options.auto_headers:
extensions = _header_extensions(source)
- pattern = "|".join([f"^\\.\\./.*\\.{x for x in extensions}$"])
+ pattern = "|".join([f"^\\.\\./.*\\.{x}$" for x in extensions])
cmd += [f"--header-filter={pattern}"]
cmd += [source]
|