Typo in Add-DeprecationWarning call (#22168)

Unfortunately the script does not stop/fail because of such errors.
pull/22182/head
Dag Wieers 9 years ago committed by Matt Davis
parent f4f09c9dbf
commit 868d19b509

@ -43,7 +43,7 @@ if ($source) {$source = $source.Tolower()}
if ($upgrade) if ($upgrade)
{ {
Add-DeprecateWarning $result "Parameter upgrade=yes is replaced with state=latest" Add-DeprecationWarning $result "Parameter upgrade=yes is replaced with state=latest"
if ($state -eq "present") if ($state -eq "present")
{ {
$state = "latest" $state = "latest"

Loading…
Cancel
Save