platyPS
platyPS copied to clipboard
Platyps log files is incorrect for Update-Markdown activity
See related issue #419 and #420.
Steps to reproduce
Run Update-MarkdownHelp (with logging) on the CimCmdlets markdown files. (see related issues).
Expected behavior
Log file shows the following:
---- UPDATING Cmdlet : Get-CimAssociatedInstance ----
No updates done
---- COMPLETED UPDATING Cmdlet : Get-CimAssociatedInstance ----
However, Get-CimAssociatedInstance.md was changed. The Common Parameters description was overwritten with the default text.
Actual behavior
There should be no changes.
Environment data
PS > Get-Module platyPS -list | select name,version
Name Version
---- -------
platyPS 0.12.0
PS > $PSVersionTable
Name Value
---- -----
PSVersion 6.1.1
PSEdition Core
GitCommitId 6.1.1
OS Microsoft Windows 10.0.17134
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The log file is a somewhat un-maintained feature. If anybody is interested in fixing problems with them, I'd be happy to help with guidelines and code reviews.
Fixed in v1 of Microsoft.PowerShell.PlatyPS