chocolatey / cChoco

Community resource to manage Chocolatey
Apache License 2.0
154 stars 99 forks source link

cChocoPackageInstall Test-TargetResource Throws instead of returning false. #36

Closed RobFaie closed 8 years ago

RobFaie commented 8 years ago

cChocoPackageInstall Test-TargetResource throws an error when Chocolatey isn't installed causing Consistency to fail instead of reporting an inconsistency. Test-TargetResource should return $False instead so that other resources can be checked.

ebekker commented 8 years ago

Thanks, your change has been merged in.