From 096e1e3caa5a0ece53f39ad1c0cf10b45a0b9f52 Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Wed, 3 Jun 2015 21:57:50 +0300 Subject: [PATCH] CB-8898 Report expected gradle location properly --- 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 fd0aa88f..5ddf4b4a 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -86,7 +86,7 @@ module.exports.check_gradle = function() { if (!sdkDir) return Q.reject(message + 'Might need to install Android SDK or set up \'ADROID_HOME\' env variable.'); var wrapper = path.join(sdkDir, 'tools', 'templates', 'gradle', 'wrapper', 'gradlew'); return tryCommand('"' + wrapper + '" -v', message + 'Might need to update your Android SDK.\n' + - 'Looked here: ' + path.basename(wrapper)) + 'Looked here: ' + path.dirname(wrapper)) .then(function (output) { // Parse Gradle version from command output return/^gradle ((?:\d+\.)+(?:\d+))/gim.exec(output)[1];