diff --git a/lib/_tls_common.js b/lib/_tls_common.js index 562a2bda8499ec..d8f6afed0bd8fb 100644 --- a/lib/_tls_common.js +++ b/lib/_tls_common.js @@ -240,7 +240,7 @@ exports.translatePeerCertificate = function translatePeerCertificate(c) { c.infoAccess = Object.create(null); // XXX: More key validation? - info.replace(/([^\n:]*):([^\n]*)(?:\n|$)/g, function (all, key, val) { + info.replace(/([^\n:]*):([^\n]*)(?:\n|$)/g, function(all, key, val) { if (key in c.infoAccess) c.infoAccess[key].push(val); else