mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
windows: Two simple errors using Add-Warning (#25955)
This commit is contained in:
committed by
Jordan Borean
parent
0dddae7ffa
commit
74efda65cd
@@ -421,7 +421,7 @@ If ($state -eq "present") {
|
||||
}
|
||||
|
||||
If ($insertbefore -and $insertafter) {
|
||||
Add-Warning('Both insertbefore and insertafter parameters found, ignoring "insertafter=$insertafter"');
|
||||
Add-Warning $result "Both insertbefore and insertafter parameters found, ignoring `"insertafter=$insertafter`""
|
||||
}
|
||||
|
||||
If (-not $insertbefore -and -not $insertafter) {
|
||||
|
||||
Reference in New Issue
Block a user