We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a332a33 commit 344b39aCopy full SHA for 344b39a
1 file changed
lib/autoupdate.ps1
@@ -365,7 +365,7 @@ function Update-ManifestProperty {
365
}
366
} elseif ($Manifest.$currentProperty -and $Manifest.autoupdate.$currentProperty) {
367
# Update other property (global)
368
- $autoupdateProperty = $Manifest.autoupdate.$currentProperty.PSObject.Copy()
+ $autoupdateProperty = $Manifest.autoupdate.$currentProperty
369
$newValue = substitute $autoupdateProperty $Substitutions
370
if (($autoupdateProperty.GetType().Name -eq 'Object[]') -and ($autoupdateProperty.Length -eq 1)) {
371
# Make sure it's an array
0 commit comments