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
|
@ -45,7 +45,7 @@ if ($diff_support) {
|
|||
|
||||
# Fix HCCC:\ PSDrive for pre-2.3 compatibility
|
||||
if ($path -match "^HCCC:\\") {
|
||||
Add-Warning("Please use path: HKCC:\... instead of path: $path")
|
||||
Add-Warning $result "Please use path: HKCC:\... instead of path: $path"
|
||||
$path = $path -replace "HCCC:\\","HKCC:\\"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue