mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Fixes plugin doc generator file lookup
This commit is contained in:
parent
3313976670
commit
2b61c297ea
2 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
* [#412](https://github.com/Icinga/icinga-powershell-framework/issues/412) Fixes possible defective state of the Icinga Agent by using a custom service user for JEA profiles which is larger than 20 digits
|
||||
* [#418](https://github.com/Icinga/icinga-powershell-framework/pull/418) Fixes crash on wrong variable usage introduced by [#411](https://github.com/Icinga/icinga-powershell-framework/pull/411)
|
||||
* [#421](https://github.com/Icinga/icinga-powershell-framework/issues/421) Fixes experimental state of `API Check` feature by removing that term and removing the requirement to install `icinga-powershell-restapi` and `icinga-powershell-apichecks`
|
||||
* [#436](https://github.com/Icinga/icinga-powershell-framework/pull/436) Fixes a lookup error for existing plugin documentation files, which caused files not being generated properly in case a similar name was already present on the system
|
||||
|
||||
### Enhancements
|
||||
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ function Publish-IcingaPluginDocumentation()
|
|||
[string]$PluginDocName = '';
|
||||
foreach ($DocFile in $MDFiles) {
|
||||
$DocFileName = $DocFile.Name;
|
||||
if ($DocFileName -Like "*$PluginName*") {
|
||||
if ($DocFileName -Like "*$PluginName.md") {
|
||||
$PluginDocName = $DocFile.Name;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue