1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00

Make stf local <serial> work again.

This commit is contained in:
Simo Kinnunen 2014-04-03 18:14:31 +09:00
parent c33f0eab09
commit 3a84e249d6

View file

@ -502,7 +502,8 @@ program
, 'disable watching resources')
.action(function() {
var log = logger.createLogger('cli:local')
, options = cliutil.lastArg(arguments)
, args = arguments
, options = cliutil.lastArg(args)
, procutil = require('./util/procutil')
// Each forked process waits for signals to stop, and so we run over the
@ -553,7 +554,7 @@ program
, '--name', options.provider
, '--connect-sub', options.bindDevPub
, '--connect-push', options.bindDevPull
].concat(cliutil.allUnknownArgs(arguments)))
].concat(cliutil.allUnknownArgs(args)))
// auth-mock
, procutil.fork(__filename, [