FLIPPER_DISABLE_KEYTAR env var to use in-memory impl
Summary: Changelog: FLIPPER_DISABLE_KEYTAR env var can be used to force in-memory implementation Reviewed By: lblasa Differential Revision: D49183501 fbshipit-source-id: 4ce886303678485673750417b09f272dd3f66623
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b60a8537ff
commit
cd392929e0
@@ -164,7 +164,11 @@ async function start() {
|
||||
|
||||
let keytar: any = undefined;
|
||||
try {
|
||||
if (!isTest()) {
|
||||
if (process.env.FLIPPER_DISABLE_KEYTAR) {
|
||||
console.log(
|
||||
'[flipper-server][bootstrap] Using keytar in-memory implementation as per FLIPPER_DISABLE_KEYTAR env var.',
|
||||
);
|
||||
} else if (!isTest()) {
|
||||
const keytarPath = path.join(
|
||||
staticPath,
|
||||
'native-modules',
|
||||
|
||||
Reference in New Issue
Block a user