Skip to content

Commit a933712

Browse files
tniessenruyadorno
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 d3f3bf6 commit a933712

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
@@ -2904,7 +2904,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js.
29042904
This property is deprecated. Please use `crypto.setFips()` and
29052905
`crypto.getFips()` instead.
29062906

2907-
### `crypto.checkPrime(candidate[, options[, callback]])`
2907+
### `crypto.checkPrime(candidate[, options], callback)`
29082908

29092909
<!-- YAML
29102910
added: v15.8.0

0 commit comments

Comments
 (0)