From 6a76540cb6a9ec2b8e9c15af130b4e97981e6baa Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Fri, 16 Aug 2019 08:55:01 -0700 Subject: [PATCH] fix: return type in open/save dialogs (#19781) --- lib/browser/api/dialog.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/browser/api/dialog.js b/lib/browser/api/dialog.js index 017e95abb855..fbe864528b89 100644 --- a/lib/browser/api/dialog.js +++ b/lib/browser/api/dialog.js @@ -66,6 +66,8 @@ const setupDialogProperties = (type, properties) => { dialogProperties |= dialogPropertiesTypes[prop] } } + + return dialogProperties } const saveDialog = (sync, window, options) => {