Migrate iOSContainerUtility

Summary: TSC actually found a type error here in `safeExec` which is nice.

Reviewed By: danielbuechele

Differential Revision: D16666740

fbshipit-source-id: 28a1ad12190d2351a48323f23c3a69947503625d
This commit is contained in:
Pascal Hartig
2019-08-09 03:56:27 -07:00
committed by Facebook Github Bot
parent 5f3e84a96e
commit 3c2d9973e5
4 changed files with 8 additions and 8 deletions

View File

@@ -16,8 +16,8 @@ import {ScribeLogger} from './ScribeLogger';
export type ObjectError =
| Error
| {
message: string,
stack?: string,
message: string;
stack?: string;
};
export default class ErrorReporter {

View File

@@ -5,15 +5,15 @@
* @format
*/
import {promisify} from 'util';
import type {DeviceType} from '../devices/BaseDevice';
import {DeviceType} from '../devices/BaseDevice';
const exec = promisify(require('child_process').exec);
const errorMessage = 'Physical iOS devices not yet supported';
export type DeviceTarget = {
udid: string,
type: DeviceType,
name: string,
udid: string;
type: DeviceType;
name: string;
};
function isAvailable(): boolean {