Remove global access to adb client and idb config

Summary: Idb and adb sholuld not really be accessed out side of Adnroid and iOS device managers

Reviewed By: lawrencelomax

Differential Revision: D33915162

fbshipit-source-id: 0d1bb028b9a53254cf5b0ce6289ae76339c5a254
This commit is contained in:
Andrey Goncharov
2022-02-02 03:05:34 -08:00
committed by Facebook GitHub Bot
parent 51ef1810b2
commit c7492a83c7
6 changed files with 14 additions and 42 deletions

View File

@@ -19,6 +19,11 @@ import fs from 'fs-extra';
import path from 'path';
const exec = promisify(child_process.exec);
export type IdbConfig = {
idbPath: string;
enablePhysicalIOS: boolean;
};
// Use debug to get helpful logs when idb fails
const idbLogLevel = 'DEBUG';
const operationPrefix = 'iosContainerUtility';