Summary: Fix style in master.

Reviewed By: jknoxville

Differential Revision: D12838697

fbshipit-source-id: 0d0d59d6d073c13e4a8c926d3a52329c3dc2381f
This commit is contained in:
Pascal Hartig
2018-10-31 04:46:53 -07:00
committed by Facebook Github Bot
parent 0a6dbfcf3e
commit 81ef493a23

View File

@@ -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);
}