Skip to content

Commit 5ac344b

Browse files
tniessenjuanarbol
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 87cc487 commit 5ac344b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
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)