wsproxy: minor.

This commit is contained in:
Christopher Jeffrey 2017-07-02 17:04:34 -07:00
parent db0567fc01
commit ba94eb106d
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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) {