Skip to content

Commit

Permalink
Updaing help validator to reflect troubleshooting change
Browse files Browse the repository at this point in the history
  • Loading branch information
rmurray-r7 committed Jan 6, 2025
1 parent c82db17 commit bf6c058
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ run `pre-commit install` in the repository after cloning and you will
be on your way to contributing!

## Changelog

* 2.47.24 - `HelpInputOutputValidator` - Reflect `troubleshooting` changing datatype to List. Now expected as `# Troubleshooting`
* 2.47.23 - `RegenerationValidator` - Show file names of mismatched checksums
* 2.47.22 - `VersionBumpValidator` - Skipping remote validation for newly created local plugins
* 2.47.21 - `RuntimeValidator` - Fixed issue where validator failed if plugin contained a cache files
Expand Down
2 changes: 1 addition & 1 deletion icon_validator/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "2.47.23"
VERSION = "2.47.24"
2 changes: 1 addition & 1 deletion icon_validator/rules/plugin_validators/help_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class HelpValidator(KomandPluginValidator):
"## Technical Details",
"### Actions",
"### Triggers",
"## Troubleshooting",
"# Troubleshooting",
"# Version History",
"# Links",
"## References",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def validate_help_headers(help_str):
raise ValidationException("Help section is missing header: ## Setup.")
if "## Technical Details" not in help_str:
raise ValidationException("Help section is missing header: ## Technical Details.")
if "## Troubleshooting" not in help_str:
raise ValidationException("Help section is missing header: ## Troubleshooting.")
if "# Troubleshooting" not in help_str:
raise ValidationException("Help section is missing header: # Troubleshooting.")
if "# Version History" not in help_str:
raise ValidationException("Help section is missing header: # Version History.")
if "# Links" not in help_str:
Expand Down

0 comments on commit bf6c058

Please sign in to comment.