File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,8 @@ export class DebugService extends EventEmitter implements IDebugService {
51
51
this . $errors . failWithoutHelp ( `Unsupported device OS: ${ device . deviceInfo . platform } . You can debug your applications only on iOS or Android.` ) ;
52
52
}
53
53
54
- if ( this . $mobileHelper . isiOSPlatform ( device . deviceInfo . platform ) ) { // TODO: Consider to move this code to ios-debug-service
54
+ // TODO: Consider to move this code to ios-debug-service
55
+ if ( this . $mobileHelper . isiOSPlatform ( device . deviceInfo . platform ) ) {
55
56
if ( device . isEmulator && ! debugData . pathToAppPackage && debugOptions . debugBrk ) {
56
57
this . $errors . failWithoutHelp ( "To debug on iOS simulator you need to provide path to the app package." ) ;
57
58
}
Original file line number Diff line number Diff line change @@ -456,10 +456,10 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
456
456
const deviceAction = async ( device : Mobile . IDevice ) : Promise < void > => {
457
457
try {
458
458
const platform = device . deviceInfo . platform ;
459
- const liveSyncService = this . getLiveSyncService ( platform ) ;
459
+ const platformLiveSyncService = this . getLiveSyncService ( platform ) ;
460
460
const deviceBuildInfoDescriptor = _ . find ( deviceDescriptors , dd => dd . identifier === device . deviceInfo . identifier ) ;
461
461
462
- liveSyncService . prepareForLiveSync ( device , projectData , liveSyncData ) ;
462
+ platformLiveSyncService . prepareForLiveSync ( device , projectData , liveSyncData ) ;
463
463
464
464
await this . ensureLatestAppPackageIsInstalledOnDevice ( {
465
465
device,
@@ -475,7 +475,7 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
475
475
env : liveSyncData . env
476
476
} , { skipNativePrepare : deviceBuildInfoDescriptor . skipNativePrepare } ) ;
477
477
478
- const liveSyncResultInfo = await liveSyncService . fullSync ( {
478
+ const liveSyncResultInfo = await platformLiveSyncService . fullSync ( {
479
479
projectData, device,
480
480
syncAllFiles : liveSyncData . watchAllFiles ,
481
481
useLiveEdit : liveSyncData . useLiveEdit ,
You can’t perform that action at this time.
0 commit comments