Skip to content

Commit

Permalink
[minor] Fix nit in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Apr 6, 2022
1 parent d086f4b commit 2619c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2619c00

Please sign in to comment.