Project: titanium
Issue TIMOB-18138: CLI: ti setup, network option, setting proxy to no doesn't clear value from config file
Steps to reproduce: 1. Run {{ti setup}} 2. Choose network 3. When prompted if you're behind a proxy, enter "yes" then enter a proxy address (e.g. http://localhost). Complete the rest of the questions, accepting the defaults. 4. Choose network 5. When prompted, enter "no" to specify that you're not behind a proxy. Complete the rest of the questions. 6. Choose network. The prompts show that "yes" you're behind a proxy. If you examine the ~/.titanium/config.json file you'll see that the proxy address is still listed in the httpProxyServer key. Expectation - if you specify no, the proxy value would be cleared and further prompts by setup would default to no.
Story points: 5