[TIMOB-13083] CLI: Passing a bad SDK version results in misleading error
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2013-06-06T00:47:33.000+0000 |
| Affected Version/s | Release 3.0.2, Release 3.1.0 |
| Fix Version/s | n/a |
| Components | CLI |
| Labels | qe-sdk3.1.0 |
| Reporter | Eric Merriman |
| Assignee | Chris Barber |
| Created | 2013-03-15T19:00:41.000+0000 |
| Updated | 2017-03-21T22:47:15.000+0000 |
Description
If a bad SDK is passed in, for example "ti build -p ios -s 4.2.9", the resulting error is: [ERROR] "build" is an unrecognized command.
This error does not indicate the actual problem is that the SDK is not there.
This is not a regression
Steps to reproduce:
1) Create a project
2) Attempt to build the project with a bad SDK
Result:
[ERROR] "build" is an unrecognized command.
Expected:
Something along the lines: "SDK 4.2.9 not found"
Marking as dupe of TIMOB-12367.
Closing ticket as duplicate with reference to the above comments.