diff --git a/lib/websocket.js b/lib/websocket.js index dd67d7357..3a56ea069 100644 --- a/lib/websocket.js +++ b/lib/websocket.js @@ -861,8 +861,8 @@ function initAsClient(websocket, address, protocols, options) { websocket.emit('upgrade', res); // - // The user may have closed the connection from a listener of the `upgrade` - // event. + // The user may have closed the connection from a listener of the + // `'upgrade'` event. // if (websocket.readyState !== WebSocket.CONNECTING) return;