chocolatey / cChoco

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

Investigate impact of 'useEnhancedExitCodes' in Chocolatey 0.10.12 #123

Open pauby opened 5 years ago

pauby commented 5 years ago

Chocolatey 0.10.13 introduces choco list exit code 2 if no results are returned if the feature useEnhancedExitCodes is enabled (which it is by default).

See https://github.com/chocolatey/choco/issues/1758 and https://github.com/chocolatey/choco/issues/1784

pauby commented 5 years ago

See this comment - if the issue is reversed and a new release is made quickly this might not be anything to worry immediately but may still have to take account of people who have the feature turned on.

ferventcoder commented 5 years ago

@pauby you can also call specifically for not using them as part of your call. It would be ignored in older versions of choco if the option is not available.