Add warning message when Chocolatey was installed (#25918)
parent
7cc38e1b32
commit
0dddae7ffa
|
@ -75,6 +75,7 @@ Function Chocolatey-Install-Upgrade
|
|||
}
|
||||
$result.changed = $true
|
||||
$script:executable = "C:\ProgramData\chocolatey\bin\choco.exe"
|
||||
Add-Warning $result 'Chocolatey was missing from this system, so it was installed during this task run.'
|
||||
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue