CB-12524: Thwarted by JSHint again, accidentally deleted the wrong message
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/6a77acdb Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/6a77acdb Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/6a77acdb Branch: refs/heads/master Commit: 6a77acdbf2c9064318d694c6863c8428f5c8ff08 Parents: 0287254 Author: Joe Bowser <bows...@apache.org> Authored: Mon Mar 13 11:46:51 2017 -0700 Committer: Joe Bowser <bows...@apache.org> Committed: Mon Mar 13 13:51:37 2017 -0700 ---------------------------------------------------------------------- bin/lib/check_reqs.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/6a77acdb/bin/lib/check_reqs.js ---------------------------------------------------------------------- diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index eb1e4d1..93d2906 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -272,10 +272,11 @@ module.exports.check_android_target = function(originalError) { // Google Inc.:Google APIs:20 // Google Inc.:Glass Development Kit Preview:20 var valid_target = module.exports.get_target(); + var msg = 'Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.'; // Changing "targets" to "target" is stupid and makes more code. Thanks Google! - var cmd = "android list targets --compact"; + var cmd = 'android list targets --compact'; if(forgivingWhichSync('avdmanager').length > 0) - cmd = "avdmanager list target --compact"; + cmd = 'avdmanager list target --compact'; return tryCommand(cmd, msg) .then(function(output) { var targets = output.split('\n'); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org