From 2d90e763ad1560850b2c7faba9e3e0774352cf20 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 13 Mar 2018 16:23:39 +0900 Subject: [PATCH] Use idiomatic ES6 when merging options --- lib/browser/guest-window-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/guest-window-manager.js b/lib/browser/guest-window-manager.js index 0e4ae309282f..ff255679a335 100644 --- a/lib/browser/guest-window-manager.js +++ b/lib/browser/guest-window-manager.js @@ -54,7 +54,7 @@ const mergeBrowserWindowOptions = function (embedder, options) { if (win != null) { const show = win.isVisible() if (typeof show === 'boolean') { - parentOptions = {...embedder.browserWindowOptions, show: show} + parentOptions = {...embedder.browserWindowOptions, show} } }