From c42436aeeb4f77d4927f4dd71f560d79d7b4d056 Mon Sep 17 00:00:00 2001 From: Simo Kinnunen Date: Wed, 2 Apr 2014 15:20:37 +0900 Subject: [PATCH] No need to include procutil for anything but `stf local`. --- lib/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli.js b/lib/cli.js index 722e1d98..747c9f2f 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -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.