Open sdwheeler opened 4 months ago
In https://github.com/PowerShell/platyPS/commit/27d5ffe4090f146b64c7d91453d6683c68c8ee53
Tests
Export-MarkdownModuleFile
- fixed and writes warnings about trying overwrite keysExport-YamlModuleFile
- FAIL - keys overwrittenExport-MarkdownCommandHelp
- keys are not overwritten, but no warning messages about attempt to overwriteExport-YamlCommandHelp
- keys are not overwritten, but no warning messages about attempt to overwriteOPS10 test results
Fixed
Export-MarkdownModuleFile
- fixed and writes warnings about trying overwrite keysExport-YamlModuleFile
- fixed and writes warnings about trying overwrite keysNeed warnings
Export-MarkdownCommandHelp
- keys are not overwritten, but no warning messages about attempt to overwriteExport-YamlCommandHelp
- keys are not overwritten, but no warning messages about attempt to overwrite
Summary of the new feature / enhancement
There are 2 metadata fields that should not be allowed to be overwritten by values passed to cmdlet using the Metadata parameters:
PlatyPS schema version
document type
Proposed technical implementation details (optional)