From ba94eb106d5965219fffd325dc9daaa365b42d4f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 2 Jul 2017 17:04:34 -0700 Subject: [PATCH] wsproxy: minor. --- browser/wsproxy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/wsproxy.js b/browser/wsproxy.js index d48e318d..5aef4e16 100644 --- a/browser/wsproxy.js +++ b/browser/wsproxy.js @@ -209,9 +209,9 @@ WSProxy.prototype._handleConnect = function _handleConnect(ws, port, host, nonce }); }; -WSProxy.prototype.log = function log() { +WSProxy.prototype.log = function log(...args) { process.stdout.write('wsproxy: '); - console.log.apply(console, arguments); + console.log(...args); }; WSProxy.prototype.attach = function attach(server) {