diff --git a/bin/templates/cordova/lib/run.js b/bin/templates/cordova/lib/run.js index 024fcd08..12f178ce 100644 --- a/bin/templates/cordova/lib/run.js +++ b/bin/templates/cordova/lib/run.js @@ -23,11 +23,12 @@ var path = require('path'), build = require('./build'), emulator = require('./emulator'), device = require('./device'), + shell = require('shelljs'), Q = require('q'); /* * Runs the application on a device if available. - * If not device is found, it will use a started emulator. + * If no device is found, it will use a started emulator. * If no started emulators are found it will attempt to start an avd. * If no avds are found it will error out. * Returns a promise. @@ -35,6 +36,7 @@ var path = require('path'), module.exports.run = function(args) { var buildFlags = []; var install_target; + var list = false; for (var i=2; i