From 81ef493a23fe059deb78c6568b3a65238bbf4193 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Wed, 31 Oct 2018 04:46:53 -0700 Subject: [PATCH] yarn fix Summary: Fix style in master. Reviewed By: jknoxville Differential Revision: D12838697 fbshipit-source-id: 0d0d59d6d073c13e4a8c926d3a52329c3dc2381f --- src/plugins/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/index.js b/src/plugins/index.js index 47ced6374..4959e4767 100644 --- a/src/plugins/index.js +++ b/src/plugins/index.js @@ -31,8 +31,9 @@ const addIfNotAdded = plugin => { let disabledPlugins = []; try { - // $FlowFixMe process.env not defined in electron API spec - disabledPlugins = JSON.parse(remote?.process.env.CONFIG || '{}').disabledPlugins || []; + disabledPlugins = + // $FlowFixMe process.env not defined in electron API spec + JSON.parse(remote?.process.env.CONFIG || '{}').disabledPlugins || []; } catch (e) { console.error(e); }