yarn fix
Summary: Fix style in master. Reviewed By: jknoxville Differential Revision: D12838697 fbshipit-source-id: 0d0d59d6d073c13e4a8c926d3a52329c3dc2381f
This commit is contained in:
committed by
Facebook Github Bot
parent
0a6dbfcf3e
commit
81ef493a23
@@ -31,8 +31,9 @@ const addIfNotAdded = plugin => {
|
|||||||
|
|
||||||
let disabledPlugins = [];
|
let disabledPlugins = [];
|
||||||
try {
|
try {
|
||||||
// $FlowFixMe process.env not defined in electron API spec
|
disabledPlugins =
|
||||||
disabledPlugins = JSON.parse(remote?.process.env.CONFIG || '{}').disabledPlugins || [];
|
// $FlowFixMe process.env not defined in electron API spec
|
||||||
|
JSON.parse(remote?.process.env.CONFIG || '{}').disabledPlugins || [];
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user