From e2af492a634282297cca399b55d037358651bb70 Mon Sep 17 00:00:00 2001 From: Alexander Sorokin Date: Mon, 20 Mar 2017 14:53:45 +0300 Subject: [PATCH] CB-12587 A (not so) quick fix for get_gradle_wrapper() call --- bin/lib/check_reqs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index 93d2906c..b368eccf 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -107,7 +107,7 @@ module.exports.check_gradle = function() { return Q.reject(new CordovaError('Could not find gradle wrapper within Android SDK. Could not find Android SDK directory.\n' + 'Might need to install Android SDK or set up \'ANDROID_HOME\' env variable.')); - var gradlePath = this.get_gradle_wrapper(); + var gradlePath = module.exports.get_gradle_wrapper(); if(gradlePath.length !== 0) d.resolve(gradlePath); else