mirror of
https://github.com/electron/electron.git
synced 2026-01-25 15:28:11 -05:00
Fix c&p error
This commit is contained in:
@@ -288,7 +288,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
let {certificate, message} = options
|
||||
if (certificate == null || typeof options !== 'object') {
|
||||
if (certificate == null || typeof certificate !== 'object') {
|
||||
throw new TypeError('certificate must be an object')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user