We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e2519 commit 193b2bdCopy full SHA for 193b2bd
scripts/check_modules.py
@@ -382,10 +382,12 @@ def check_modules():
382
found_config_string = search_regex_in_file(
383
file_path, r"\{\s*[^}]*?\s*config:\s*\{\s*[^}]*\}(?:[,\s]\s*[^}]*?)}"
384
)
385
+
386
if not found_config_string:
- module["issues"].append(
387
- "Recommendation: The README seems not to have a config example. Please add one."
388
- )
+ if not found_modules_string:
+ module["issues"].append(
389
+ "Recommendation: The README seems not to have a config example. Please add one."
390
+ )
391
else:
392
# Check if the config example has an trailing comma
393
found_trailing_comma = search_regex_in_file(
0 commit comments