Expose env via flipperLib

Summary:
This change exposes the env variables via the FlipperLib interface used by plugins.

The variables are already white-listed and safe to be used by plugins according to documentation.

Reviewed By: antonk52

Differential Revision: D40852147

fbshipit-source-id: bbb3b052d33bf5cf75c81166af2400fe6a359256
This commit is contained in:
Lorenzo Blasa
2022-11-10 12:40:27 -08:00
committed by Facebook GitHub Bot
parent caaded026b
commit 51ca3a6cd7
3 changed files with 4 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ export function baseFlipperLibImplementation(
},
environmentInfo: {
os: renderHost.serverConfig.environmentInfo.os,
env: renderHost.serverConfig.env,
},
intern: {
graphGet: (...args) =>