diff --git a/lib/_tls_legacy.js b/lib/_tls_legacy.js index 39138a15fca5fa..44f67de4e5adaa 100644 --- a/lib/_tls_legacy.js +++ b/lib/_tls_legacy.js @@ -741,11 +741,12 @@ function SecurePair(context, isServer, requestCert, rejectUnauthorized, this._rejectUnauthorized = rejectUnauthorized ? true : false; this._requestCert = requestCert ? true : false; - this.ssl = new Connection(this.credentials.context, - this._isServer ? true : false, - this._isServer ? this._requestCert : - options.servername, - this._rejectUnauthorized); + this.ssl = new Connection( + this.credentials.context, + this._isServer ? true : false, + this._isServer ? this._requestCert : options.servername, + this._rejectUnauthorized + ); if (this._isServer) { this.ssl.onhandshakestart = () => onhandshakestart.call(this); diff --git a/lib/readline.js b/lib/readline.js index 88462891237e7d..479db9bdf044ad 100644 --- a/lib/readline.js +++ b/lib/readline.js @@ -511,8 +511,7 @@ function handleGroup(self, group, width, maxColumns) { var item = group[idx]; self._writeToOutput(item); if (col < maxColumns - 1) { - for (var s = 0, itemLen = item.length; s < width - itemLen; - s++) { + for (var s = 0, itemLen = item.length; s < width - itemLen; s++) { self._writeToOutput(' '); } }