Skip to content

Commit aa10ca5

Browse files
Fatme HavaluovaFatme Havaluova
Fatme Havaluova
authored and
Fatme Havaluova
committed
Fix "Cannot read property 'wait' of undefined"
1 parent 8e46a71 commit aa10ca5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/services/usb-livesync-service.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import helpers = require("../common/helpers");
77
import usbLivesyncServiceBaseLib = require("../common/services/usb-livesync-service-base");
88
import path = require("path");
99
import semver = require("semver");
10+
import Future = require("fibers/future");
1011

1112
export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncServiceBase implements IUsbLiveSyncService {
1213
private excludedProjectDirsAndFiles = [
@@ -82,7 +83,8 @@ export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncSer
8283
let platformSpecificUsbLiveSyncService = this.resolveUsbLiveSyncService(platform || this.$devicesServices.platform, device);
8384
if(platformSpecificUsbLiveSyncService.beforeLiveSyncAction) {
8485
return platformSpecificUsbLiveSyncService.beforeLiveSyncAction(deviceAppData);
85-
}
86+
}
87+
return Future.fromResult();
8688
}
8789

8890
let watchGlob = path.join(this.$projectData.projectDir, constants.APP_FOLDER_NAME);

0 commit comments

Comments
 (0)