-
Notifications
You must be signed in to change notification settings - Fork 109
Fix issue #61 add invoke-chocolatey which throws error on choco error #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
| } | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably can't influence the exit code of the run can it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exit code is now handled in pull request 103
| ( | ||
| # Param1 help description | ||
| [Parameter(Position=0)] | ||
| $pParams |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just call this arguments?
| function Invoke-Chocolatey | ||
| { | ||
| [CmdletBinding()] | ||
| [Alias("IChoco")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not add an alias
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alias removed in pullrequest 103
| { | ||
| [CmdletBinding()] | ||
| [Alias("IChoco")] | ||
| [OutputType([int])] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How will this work with choco list -lo -r that pipes the text output?
|
i |
|
please see pullrequest 103. |
|
Closed in favor of #103 |
#61
resolution for issue 61. In our company me an my colleagues also noticed that cchoco always returned succes even when chocolatey gave an error. This fix wil throw an error if chocolatey gives an error.