Skip to content

Commit

Permalink
doc: replace unneeded snake cases
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
vsemozhetbyt authored and jasnell committed Apr 16, 2018
1 parent 4c70616 commit 0be14de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1181,13 +1181,13 @@ setTimeout(() => {
```


## process.initgroups(user, extra_group)
## process.initgroups(user, extraGroup)
<!-- YAML
added: v0.9.4
-->

* `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
Expand Down
4 changes: 2 additions & 2 deletions doc/api/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0be14de

Please sign in to comment.