Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions lib/services/usb-livesync-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,13 @@ export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncSer
}).future<void>()();
}

protected preparePlatformForSync(platform: string) {
if (!this.$platformService.preparePlatform(platform).wait()) {
this.$logger.out("Verify that listed files are well-formed and try again the operation.");
return;
}
protected preparePlatformForSync(platform: string): IFuture<void> {
return (() => {
if (!this.$platformService.preparePlatform(platform).wait()) {
this.$logger.out("Verify that listed files are well-formed and try again the operation.");
return;
}
}).future<void>()();
}

private resolveUsbLiveSyncService(platform: string, device: Mobile.IDevice): IPlatformSpecificUsbLiveSyncService {
Expand Down