Fix c&p error
This commit is contained in:
parent
736d6afe73
commit
2749ded062
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
|
|
||||||
let {certificate, message} = options
|
let {certificate, message} = options
|
||||||
if (certificate == null || typeof options !== 'object') {
|
if (certificate == null || typeof certificate !== 'object') {
|
||||||
throw new TypeError('certificate must be an object')
|
throw new TypeError('certificate must be an object')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue