From a56c406aa39b6ba04a9a61c23896b6214353a273 Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Tue, 20 Jan 2015 13:59:49 -0500 Subject: [PATCH] Made check_reqs script echo `ANDROID_HOME` and `JAVA_HOME` when run directly --- bin/lib/check_reqs.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index 6c2ec16c..8fc0db5a 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -237,6 +237,10 @@ module.exports.check_android_target = function(valid_target) { // Returns a promise. module.exports.run = function() { - return Q.all([this.check_java(), this.check_android()]); + return Q.all([this.check_java(), this.check_android()]) + .then(function() { + console.log('ANDROID_HOME=' + process.env['ANDROID_HOME']); + console.log('JAVA_HOME=' + process.env['JAVA_HOME']); + }); }