mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Typo in Add-DeprecationWarning call (#22168)
Unfortunately the script does not stop/fail because of such errors.
This commit is contained in:
@@ -43,9 +43,9 @@ if ($source) {$source = $source.Tolower()}
|
||||
|
||||
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")
|
||||
{
|
||||
{
|
||||
$state = "latest"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user