Add isHeadlessBuild to EnvironmentInfo

Summary: Allows to attribute errors to flipper server or flipper electron

Reviewed By: passy

Differential Revision: D36698504

fbshipit-source-id: 6d07216fd05aa48b7c8cca5b53145916b64526eb
This commit is contained in:
Andrey Goncharov
2022-05-27 02:37:53 -07:00
committed by Facebook GitHub Bot
parent 49eb026769
commit 4eca8d1088
6 changed files with 11 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ async function start(deviceQuery: string, appName: string, pluginId: string) {
console.debug = () => {};
console.info = console.error;
const environmentInfo = await getEnvironmentInfo(staticPath, false);
const environmentInfo = await getEnvironmentInfo(staticPath, false, true);
// TODO: initialise FB user manager to be able to do certificate exchange
const server = new FlipperServerImpl(