From a9721e5bedf745bc05b38a019fe69e8d7791d24a Mon Sep 17 00:00:00 2001 From: Vittorio Passuello-Dussault Date: Fri, 5 Jun 2020 10:46:07 -0400 Subject: [PATCH] using standard require to import q --- scripts/downloadiOSSDK.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/downloadiOSSDK.js b/scripts/downloadiOSSDK.js index d6d5aa04..a8aae626 100755 --- a/scripts/downloadiOSSDK.js +++ b/scripts/downloadiOSSDK.js @@ -4,7 +4,7 @@ module.exports = function (context) { var IosSDKVersion = "OpenTok-iOS-2.15.3"; var downloadFile = require('./downloadFile.js'), exec = require('./exec/exec.js'), - Q = context.requireCordovaModule('q'), + Q = require('q'), deferral = new Q.defer(); console.log('Downloading OpenTok iOS SDK'); downloadFile('https://s3.amazonaws.com/artifact.tokbox.com/rel/ios-sdk/' + IosSDKVersion + '.tar.bz2',