Skip to content

Commit e82a549

Browse files
tniessentargos
authored andcommitted
doc: fix optionality of callback arg of checkPrime
The callback argument is required. PR-URL: #44311 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Moshe Atlow <[email protected]>
1 parent 32aa0d5 commit e82a549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2892,7 +2892,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js.
28922892
This property is deprecated. Please use `crypto.setFips()` and
28932893
`crypto.getFips()` instead.
28942894

2895-
### `crypto.checkPrime(candidate[, options[, callback]])`
2895+
### `crypto.checkPrime(candidate[, options], callback)`
28962896

28972897
<!-- YAML
28982898
added: v15.8.0

0 commit comments

Comments
 (0)