Remove stale build options
Summary: Now that we build all plugins at all times and it is super-fast, these options are redundant Reviewed By: lblasa Differential Revision: D39542723 fbshipit-source-id: 1b30ba384267ec4fd0c35b4dc14f0223ffe414c9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ab03140201
commit
8dc5f4d3ea
@@ -28,12 +28,6 @@ export const pluginCacheDir = path.join(flipperDataDir, 'plugins');
|
||||
|
||||
export async function getPluginSourceFolders(): Promise<string[]> {
|
||||
const pluginFolders: string[] = [];
|
||||
if (process.env.FLIPPER_NO_DEFAULT_PLUGINS) {
|
||||
console.log(
|
||||
'🥫 Skipping default plugins because "--no-default-plugins" flag provided',
|
||||
);
|
||||
return pluginFolders;
|
||||
}
|
||||
const flipperConfigPath = path.join(homedir(), '.flipper', 'config.json');
|
||||
if (await fs.pathExists(flipperConfigPath)) {
|
||||
const config = await fs.readJson(flipperConfigPath);
|
||||
|
||||
Reference in New Issue
Block a user