Project: titanium
Issue TIMOB-17193: CLI 3.3.0.Beta crashes when no parameter is given to --device-id
Running: ti build -p android --device-id Gives me this error /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185 throw e; ^ TypeError: Cannot call method 'indexOf' of undefined at /usr/local/lib/node_modules/tn/lib/utils.js:11:13 at Array.forEach (native) at _.each._.forEach (/usr/local/lib/node_modules/tn/node_modules/underscore/underscore.js:79:11) at Object.join (/usr/local/lib/node_modules/tn/lib/utils.js:8:5) at Object.cook (/usr/local/lib/node_modules/tn/lib/cook.js:57:69) at /usr/local/lib/node_modules/tn/hooks/tn.js:16:28 at /usr/local/lib/node_modules/titanium/lib/hook.js:235:13 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21 at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13 at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:134:13) --------------------------------------------- at run (/Users/ralcocer/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.Beta/node_modules/node-appc/lib/subprocess.js:59:8) at /Users/ralcocer/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.Beta/iphone/cli/lib/detect.js:415:9 at /Users/ralcocer/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.Beta/node_modules/async/lib/async.js:511:21 at /Users/ralcocer/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.Beta/node_modules/async/lib/async.js:227:13 at /Users/ralcocer/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.Beta/node_modules/async/lib/async.js:111:13 at Array.forEach (native) at _each (/Users/ralcocer/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.Beta/node_modules/async/lib/async.js:32:24) at async.each (/Users/ralcocer/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.Beta/node_modules/async/lib/async.js:110:9)
Story points: 3