[TIMOB-17087] CLI: Config command saves booleans as integers
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-06-06T18:32:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | qe-closed-3.3.0, qe-testadded, regression |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-06-06T18:21:26.000+0000 |
Updated | 2014-06-18T08:33:55.000+0000 |
Description
Problem occurs when you run something like:
ti config android.autoSelectDevice true
When you run ti config android.autoSelectDevice
, it returns 1
instead of true
.
Titanium CLI Master pull request: https://github.com/appcelerator/titanium/pull/142 Titanium CLI 3_3_X pull request: https://github.com/appcelerator/titanium/pull/143
Verified the fixed with environment: Appcelerator-Studio:3.3.0.201406171619 Sdk:3.3.0.v20140617161713 acs:1.0.14 alloy:1.4.0-rc npm:1.3.2 titanium:3.3.0-rc titanium-code-processor:1.1.1 xcode:5.1.1 OS:Maverick(10.9.3) Steps followed: 1.Run the command.
After the configuration getting saved. Again run the command ti config android.autoSelectDevice, it returns true instead of 1. Working as expected. Hence closing the issue.