From 1aec4fdb856204f8e4f277eb3fc4526f29c5af90 Mon Sep 17 00:00:00 2001 From: Antony Kurniawan Date: Thu, 9 Nov 2023 16:07:31 +0700 Subject: [PATCH] chore: fix typo on unsupported SSL connection (#2273) --- lib/commands/client_handshake.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/client_handshake.js b/lib/commands/client_handshake.js index c8fb1e1eaa..f6cd56ccdf 100644 --- a/lib/commands/client_handshake.js +++ b/lib/commands/client_handshake.js @@ -137,7 +137,7 @@ class ClientHandshake extends Command { if (connection.config.ssl) { // client requires SSL but server does not support it if (!serverSSLSupport) { - const err = new Error('Server does not support secure connnection'); + const err = new Error('Server does not support secure connection'); err.code = 'HANDSHAKE_NO_SSL_SUPPORT'; err.fatal = true; this.emit('error', err);