Skip to content

Commit 1ecc6c0

Browse files
authored
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 4e8d85a commit 1ecc6c0

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

2913-
### `crypto.checkPrime(candidate[, options[, callback]])`
2913+
### `crypto.checkPrime(candidate[, options], callback)`
29142914

29152915
<!-- YAML
29162916
added: v15.8.0

0 commit comments

Comments
 (0)