Fix c&p error
authorjoshaber <joshaber@gmail.com>
Tue, 4 Apr 2017 15:45:27 +0000 (11:45 -0400)
committerjoshaber <joshaber@gmail.com>
Tue, 4 Apr 2017 15:45:27 +0000 (11:45 -0400)
lib/browser/api/dialog.js

index 908ffaf..215d3f2 100644 (file)
@@ -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')
     }