doc: replace unneeded snake cases
PR-URL: https://github.com/nodejs/node/pull/19951 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yuta Hiroto <hello@hiroppy.me> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
814d0346b8
commit
068c001dee
@ -1181,13 +1181,13 @@ setTimeout(() => {
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## process.initgroups(user, extra_group)
|
## process.initgroups(user, extraGroup)
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.9.4
|
added: v0.9.4
|
||||||
-->
|
-->
|
||||||
|
|
||||||
* `user` {string|number} The user name or numeric identifier.
|
* `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 `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
|
the group access list, using all groups of which the user is a member. This is
|
||||||
|
@ -1338,10 +1338,10 @@ socket.pipe(pair.encrypted);
|
|||||||
can be replaced by:
|
can be replaced by:
|
||||||
|
|
||||||
```js
|
```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
|
[`'secureConnect'`]: #tls_event_secureconnect
|
||||||
[`'secureConnection'`]: #tls_event_secureconnection
|
[`'secureConnection'`]: #tls_event_secureconnection
|
||||||
|
Loading…
x
Reference in New Issue
Block a user