This repository was archived by the owner on Feb 2, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ declare module Mobile {
239
239
* @param {string } deviceId The unique identifier of the device.
240
240
* @param {Mobile.IiOSLogStreamOptions } options Describes the options which can be passed
241
241
*/
242
- startNewMutedLogProcess ( deviceId : string , options ?: Mobile . IiOSLogStreamOptions ) : void ;
242
+ startNewMutedLogProcess ( deviceId : string , options ?: Mobile . IiOSLogStreamOptions ) : Promise < void > ;
243
243
}
244
244
245
245
/**
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ export class IOSSimulatorLogProvider extends EventEmitter implements Mobile.IiOS
53
53
}
54
54
}
55
55
56
- public startNewMutedLogProcess ( deviceId : string , options ?: Mobile . IiOSLogStreamOptions ) : void {
56
+ public async startNewMutedLogProcess ( deviceId : string , options ?: Mobile . IiOSLogStreamOptions ) : Promise < void > {
57
57
options = options || { } ;
58
58
options . muted = true ;
59
59
this . simulatorsLoggingEnabled [ deviceId ] = false ;
60
- this . startLogProcess ( deviceId , options ) ;
60
+ await this . startLogProcess ( deviceId , options ) ;
61
61
this . simulatorsLoggingEnabled [ deviceId ] = false ;
62
62
}
63
63
You can’t perform that action at this time.
0 commit comments