Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

[Enhancement] Remove Invoke-ChocolateyFunction #446

Closed
ferventcoder opened this issue Mar 27, 2014 · 2 comments
Closed

[Enhancement] Remove Invoke-ChocolateyFunction #446

ferventcoder opened this issue Mar 27, 2014 · 2 comments
Assignees

Comments

@ferventcoder
Copy link
Contributor

As noted in #418 - we have try catch wrapping the top level commands now so Invoke-ChocolateyFunction isn't necessary.

ferventcoder added a commit to ferventcoder/chocolatey that referenced this issue Mar 27, 2014
Now that we have the main commands wrapped with a try catch and non-zero exit
code, we don't need to funnel everything through this any longer, which
makes code readability better and actually fixes at least one bug
(Chocolatey-Verison was not throwing errors on non-existing packages due to
invocation always being through a function).
@jberezanski
Copy link
Contributor

Nice. For the record, this should also fix those two bugs:

@ferventcoder
Copy link
Contributor Author

Well then that's perfect. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants