Setting parse-numbers: false caused number options to become strings as well. Since we seem to have little control over positional arguments, let's make it an option instead.

This commit is contained in:
Simo Kinnunen
2017-01-27 17:26:18 +09:00
parent 06efac4e6e
commit 586dd6a4aa
3 changed files with 11 additions and 2 deletions

View File

@@ -159,7 +159,8 @@ module.exports.handler = function(argv) {
var fork = require('child_process').fork
var args = [
'device', device.id
'device'
, '--serial', device.id
, '--provider', argv.name
, '--screen-port', ports.shift()
, '--connect-port', ports.shift()