I agree, I could use an **if** statement. Will fix that in my next commit after we discuss the [**default** case](https://github.com/apache/cordova-cli/pull/164#r11923593) a little bit more.