From 07c514ce29ffb1875b62ad5cbf056b33b7fdc9e5 Mon Sep 17 00:00:00 2001 From: Kevin Lacabane <5239883+klacabane@users.noreply.github.com> Date: Wed, 11 Jul 2018 11:36:33 +0100 Subject: [PATCH] tls: name anonymous function in tls.js Refs: https://github.com/nodejs/node/issues/8913 PR-URL: https://github.com/nodejs/node/pull/21754 Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: Jon Moss --- lib/tls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tls.js b/lib/tls.js index f13c5c1c860..6f0f21e7620 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -76,7 +76,7 @@ function convertProtocols(protocols) { return buff; } -exports.convertALPNProtocols = function(protocols, out) { +exports.convertALPNProtocols = function convertALPNProtocols(protocols, out) { // If protocols is Array - translate it into buffer if (Array.isArray(protocols)) { out.ALPNProtocols = convertProtocols(protocols);