[TIMOB-17605] CLI: CLI throws an error while reading platform input value given for “ti build -p” or “ti build —platform” commands.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-08T00:00:34.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | Release 5.0.0 |
Components | CLI |
Labels | qe-3.4.0 |
Reporter | Khushbu Agrawal |
Assignee | Feon Sua Xin Miao |
Created | 2014-09-03T01:06:08.000+0000 |
Updated | 2015-09-16T15:33:37.000+0000 |
PR : https://github.com/appcelerator/titanium/pull/170 Follow the
STEPS TO REPRODUCE
mentioned above, platform value should be captured correctly.FR/CR pass, merged
Reopening. Running "ti.build -p" or "ti build -platform" gives us same error as before with Ti CLI 4.0.0-alpha. Environment: Appc Studio : 3.5.1.201412091616 Ti SDK : 4.0.0.v20150317234215 CLI : 4.0.0-alpha Alloy : 1.6.0-alpha MAC Yosemite : 10.10.2
Re-resolving as this exists in master.
Reopening ticket. Issue is still reproducible with
appc run -p
orappc run --platform
. Tested on: Appc CLI NPM: 4.1.0-1 Appc CLI Core: 4.1.0-5 Arrow: 1.1.0-11 SDK: 4.1.0.v20150706111546 Node: v0.10.38 OS: Yosemite (10.10.4)The fix exists in [master](https://github.com/appcelerator/titanium/blob/master/lib/context.js#L401) but not in the titanium version bundled with app-cli-titanium.
Considering that this is not a high priority ticket to consider for 4.1.0 release, pushing it to 4.2.0 release.
Verified using: Windows 8.1, Mac OSX 10.10.5 Appc CLI Core: 5.0.0-55 Appc CLI NPM: 4.2.0-8 Titanium SDK : 5.0.0.v20150915230722 Lumia 930 (8.1) When using
appc ti build -p
,appc ti build --platform
,appc run -p
andappc run --platform
the CLI no longer throws an error when reading the input value Closing ticket