platyPS icon indicating copy to clipboard operation
platyPS copied to clipboard

Platyps log files is incorrect for Update-Markdown activity

Open sdwheeler opened this issue 6 years ago • 1 comments

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

sdwheeler avatar Dec 18 '18 21:12 sdwheeler

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.

vors avatar Jan 13 '19 06:01 vors

Fixed in v1 of Microsoft.PowerShell.PlatyPS

sdwheeler avatar May 31 '24 15:05 sdwheeler