ports/devel/py-cfn-lint/files/patch-src_cfnlint_maintenance.py
Norikatsu Shigemura 7978185b68
devel/py-cfn-lint: Add make test target
Approved by:	hrs (mentor)
2023-05-11 19:06:53 +09:00

13 lines
483 B
Python

--- src/cfnlint/maintenance.py.orig 2023-05-08 16:34:58 UTC
+++ src/cfnlint/maintenance.py
@@ -226,9 +226,8 @@ def update_documentation(rules):
"../"
+ subprocess.check_output(
[
- "git",
"grep",
- "-l",
+ "-lr",
'id = "' + rule.id + '"',
"src/cfnlint/rules/",
]