Skip to content

Commit 0be14de

Browse files
vsemozhetbytjasnell
authored andcommitted
doc: replace unneeded snake cases
PR-URL: #19951 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 4c70616 commit 0be14de

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,13 +1181,13 @@ setTimeout(() => {
11811181
```
11821182

11831183

1184-
## process.initgroups(user, extra_group)
1184+
## process.initgroups(user, extraGroup)
11851185
<!-- YAML
11861186
added: v0.9.4
11871187
-->
11881188

11891189
* `user` {string|number} The user name or numeric identifier.
1190-
* `extra_group` {string|number} A group name or numeric identifier.
1190+
* `extraGroup` {string|number} A group name or numeric identifier.
11911191

11921192
The `process.initgroups()` method reads the `/etc/group` file and initializes
11931193
the group access list, using all groups of which the user is a member. This is

doc/api/tls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,10 +1338,10 @@ socket.pipe(pair.encrypted);
13381338
can be replaced by:
13391339

13401340
```js
1341-
secure_socket = tls.TLSSocket(socket, options);
1341+
secureSocket = tls.TLSSocket(socket, options);
13421342
```
13431343

1344-
where `secure_socket` has the same API as `pair.cleartext`.
1344+
where `secureSocket` has the same API as `pair.cleartext`.
13451345

13461346
[`'secureConnect'`]: #tls_event_secureconnect
13471347
[`'secureConnection'`]: #tls_event_secureconnection

0 commit comments

Comments
 (0)