Skip to content

Commit d9fc06b

Browse files
tniessendanielleadams
authored andcommitted
doc: improve grammar in API description
PR-URL: #40959 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 436e07b commit d9fc06b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/tls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,8 +1477,8 @@ Verifies the certificate `cert` is issued to `hostname`.
14771477
Returns {Error} object, populating it with `reason`, `host`, and `cert` on
14781478
failure. On success, returns {undefined}.
14791479

1480-
This function can be overwritten by providing alternative function as part of
1481-
the `options.checkServerIdentity` option passed to `tls.connect()`. The
1480+
This function can be overwritten by providing an alternative function as the
1481+
`options.checkServerIdentity` option that is passed to `tls.connect()`. The
14821482
overwriting function can call `tls.checkServerIdentity()` of course, to augment
14831483
the checks done with additional verification.
14841484

0 commit comments

Comments
 (0)