Install plugin from marketplace if not available

Summary: For the Flipper Server Companion, if a plugin is being requested which is not yet installed, try to install it first from the marketplace.

Reviewed By: passy

Differential Revision: D37716962

fbshipit-source-id: d618fbc597f82b540dbb02e8ffc296dcee9e1eb9
This commit is contained in:
Lorenzo Blasa
2022-07-11 07:04:55 -07:00
committed by Facebook GitHub Bot
parent c91c766b12
commit 18854ce5fc
2 changed files with 30 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ export function attachSocketServer(
flipperServerCompanion = new FlipperServerCompanion(
server,
getLogger(),
companionEnv.pluginInitializer.initialPlugins,
companionEnv,
);
}
}