Skip to content

Commit 5b05f07

Browse files
committed
lib: adjust indentation for impending lint change
ESLint 4.x provides stricter indentation linting than previous versions. In preparation for enabling the stricter indentation linting, adjust the indentation of four lines in lib/net.js and lib/repl.js. PR-URL: nodejs#14403 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
1 parent 142ce5c commit 5b05f07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/net.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -986,9 +986,9 @@ Socket.prototype.connect = function() {
986986
if (pipe) {
987987
if (typeof path !== 'string') {
988988
throw new errors.TypeError('ERR_INVALID_ARG_TYPE',
989-
'options.path',
990-
'string',
991-
path);
989+
'options.path',
990+
'string',
991+
path);
992992
}
993993
internalConnect(this, path);
994994
} else {

0 commit comments

Comments
 (0)