Closed BCOps closed 5 months ago
I just had a bit of a perusal over #103. If I understand this PR correctly, I suspect it took inspiration from that PR? Instead of the Invoke-Chocolatey
and Invoke-ChocolateyProcess
, we might want to consider using Invoke-Choco
from the Chocolatey Pester tests here. Although maybe not returning or logging as much as there as it's not likely needed in the DSC context.
Is there any news about this Pull Request ? Is it gonna be merged ?
@AF250329 This PR is waiting on a response to the last comment by @corbob.
Description Of Changes
cChocoPackageInstall
Get-ChocoInstalledPackage
has been updated to test for the presence ofChocoInstalled.xml
before trying to delete it when purge is set to true, avoiding a breaking error if it is not located.Motivation and Context
Fixes #160
Testing
remove-item
was skipped, and module run completed successfully.Operating Systems Testing
Change Types Made
Change Checklist
Related Issue
Fixes #160