[TIMOB-12437] CLI: Config fails to save if ~/.titanium directory does not exist
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-26T23:47:41.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02 |
Components | CLI |
Labels | qe-port |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-01-26T01:13:12.000+0000 |
Updated | 2013-01-29T07:53:53.000+0000 |
Description
When the Titanium CLI config is saved and the ~/.titanium folder does not exist, it will crash. Simply need to create the folder if it doesn't already exist.
titanium master pull request: https://github.com/appcelerator/titanium/pull/29
If ~/.titanium directory does'nt exist then on running "titanium config" command, its being successfully created and configuration is saved. Verified on: SDK version: 3.0.2.v20130126230207 CLI version : 3.0.24 OS : MAC OSX 10.7.5 XCode : 4.5.1