Skip to content
This repository has been archived by the owner. 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 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

This comment has been minimized.

Copy link
Contributor

ferventcoder commented Jul 10, 2014

Awesome. Thanks for catching that!

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

This comment has been minimized.

Copy link
Contributor

ferventcoder commented Jul 11, 2014

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 avdv:use-true-constant branch Jul 11, 2014
@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
2 participants
You can’t perform that action at this time.