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

[BUG] Install error throws another error due to true instead of $true #514

Closed
wants to merge 1 commit into from

Conversation

avdv
Copy link
Contributor

@avdv avdv commented Jul 10, 2014

Running "choco install xyx" failed and I got a hard error:

The term 'true' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.

Command 'install' failed (sometimes this indicates a partial
failure).

```
The term 'true' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.

Command 'install' failed (sometimes this indicates a partial
failure).
```
@ferventcoder
Copy link
Contributor

Awesome. Thanks for catching that!

ferventcoder added a commit to ferventcoder/chocolatey that referenced this pull request Jul 11, 2014
@ferventcoder
Copy link
Contributor

It was a tiny change so I just put it on stable and pushed it. Thanks again for catching the issue!

ferventcoder added a commit that referenced this pull request Jul 11, 2014
* stable:
  (GH-256) cpack/cpush always return 0 exit code even w/errors
  (maint) formatting
  (GH-516) Guard all Wait-Process if posh v3+
  Fix bogus error message with error code from 7za amiss
  (GH-514) Fix setting errored during install
@avdv avdv deleted the use-true-constant branch July 11, 2014 15:15
@ferventcoder ferventcoder changed the title Fix install command in case of errors [BUG] Install error throws another error due to true instead of $true Jul 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants