lib: normalize indentation in parentheses
In anticipation of stricter indentation linting, normalize indentation of code in parentheses. PR-URL: https://github.com/nodejs/node/pull/14125 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
94dd42577c
commit
e0af017a32
@ -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);
|
||||
|
@ -522,8 +522,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(' ');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user