From 068c001dee01e8ac7401e97249c5f61215aed233 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Wed, 11 Apr 2018 19:45:10 +0300 Subject: [PATCH] doc: replace unneeded snake cases PR-URL: https://github.com/nodejs/node/pull/19951 Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Yuta Hiroto Reviewed-By: Colin Ihrig --- doc/api/process.md | 4 ++-- doc/api/tls.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/process.md b/doc/api/process.md index c454d675746..e137ef6a6bd 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1181,13 +1181,13 @@ setTimeout(() => { ``` -## process.initgroups(user, extra_group) +## process.initgroups(user, extraGroup) * `user` {string|number} The user name or numeric identifier. -* `extra_group` {string|number} A group name or numeric identifier. +* `extraGroup` {string|number} A group name or numeric identifier. The `process.initgroups()` method reads the `/etc/group` file and initializes the group access list, using all groups of which the user is a member. This is diff --git a/doc/api/tls.md b/doc/api/tls.md index 77e0175eee0..154a10b2e5c 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -1338,10 +1338,10 @@ socket.pipe(pair.encrypted); can be replaced by: ```js -secure_socket = tls.TLSSocket(socket, options); +secureSocket = tls.TLSSocket(socket, options); ``` -where `secure_socket` has the same API as `pair.cleartext`. +where `secureSocket` has the same API as `pair.cleartext`. [`'secureConnect'`]: #tls_event_secureconnect [`'secureConnection'`]: #tls_event_secureconnection