mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
No need to include procutil for anything but stf local.
This commit is contained in:
@@ -7,7 +7,6 @@ var ip = require('my-local-ip')
|
||||
|
||||
var pkg = require('../package')
|
||||
var cliutil = require('./util/cliutil')
|
||||
var procutil = require('./util/procutil')
|
||||
var logger = require('./util/logger')
|
||||
|
||||
Promise.longStackTraces()
|
||||
@@ -504,6 +503,7 @@ program
|
||||
.action(function() {
|
||||
var log = logger.createLogger('cli:local')
|
||||
, options = cliutil.lastArg(arguments)
|
||||
, procutil = require('./util/procutil')
|
||||
|
||||
// Each forked process waits for signals to stop, and so we run over the
|
||||
// default limit of 10. So, it's not a leak, but a refactor wouldn't hurt.
|
||||
|
||||
Reference in New Issue
Block a user