Open briantist opened 9 months ago
Thanks @briantist we hoped this was fixed in the last release but will try to repro
Hi @SydneyhSmith wondering if there's been any movement on this
Seems this is caused by Microsoft.PowerShell.Core\New-ModuleManifest. So by PowerShell, not PSResourceGet. Issue was reported in 2018 but never fixed:
Seems this is caused by Microsoft.PowerShell.Core\New-ModuleManifest. So by PowerShell, not PSResourceGet. Issue was reported in 2018 but never fixed:
thankfully it looks like it was just reopened for investigation 🙏
Prerequisites
Steps to reproduce
Running
Update-PSModuleManifest
on a manifest with nested hashtables inPrivateData
is replacing the hashtables with the string representationSystem.Collections.Hashtable
.For example, with:
Running
Update-PSModuleManifest
with any value (even something that doesn't affectPSData
likeModuleVersion
, the resultingPrivateData
will have non-PSData
members replaced:Expected behavior
Actual behavior
Error details
No response
Environment data