Remove FlowFixMe's from TypeScript
Summary: This diff was a joy to draft. Reviewed By: jknoxville Differential Revision: D17344676 fbshipit-source-id: 0694d0393fa243edef61408ecfee92912fbbfa32
This commit is contained in:
committed by
Facebook Github Bot
parent
f41cbcd429
commit
cbbe32b9b9
@@ -107,7 +107,6 @@ export function getDynamicPlugins() {
|
||||
let dynamicPlugins: Array<PluginDefinition> = [];
|
||||
try {
|
||||
dynamicPlugins = JSON.parse(
|
||||
// $FlowFixMe process.env not defined in electron API spec
|
||||
(remote && remote.process.env.PLUGINS) || process.env.PLUGINS || '[]',
|
||||
);
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user