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:
committed by
Facebook GitHub Bot
parent
49eb026769
commit
4eca8d1088
@@ -51,7 +51,11 @@ async function getEmbeddedFlipperServer(
|
||||
const staticPath = getStaticDir();
|
||||
const isProduction = !/node_modules[\\/]electron[\\/]/.test(execPath);
|
||||
const env = process.env;
|
||||
const environmentInfo = await getEnvironmentInfo(staticPath, isProduction);
|
||||
const environmentInfo = await getEnvironmentInfo(
|
||||
staticPath,
|
||||
isProduction,
|
||||
false,
|
||||
);
|
||||
|
||||
let keytar: any = undefined;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user