mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
windows: Two simple errors using Add-Warning (#25955)
This commit is contained in:
parent
0dddae7ffa
commit
74efda65cd
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue