mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
CB-12587 A (not so) quick fix for get_gradle_wrapper() call
This commit is contained in:
parent
84de9ee0da
commit
e2af492a63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user