CB-7044 Fix typo in prev commit causing check_reqs to always fail.
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/c91b2726 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/c91b2726 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/c91b2726 Branch: refs/heads/4.0.x Commit: c91b272648493cfaaad972b42c4868650323ad97 Parents: ca8bb75 Author: Andrew Grieve <[email protected]> Authored: Mon Aug 18 15:26:05 2014 -0400 Committer: Andrew Grieve <[email protected]> Committed: Mon Aug 18 15:26:52 2014 -0400 ---------------------------------------------------------------------- bin/lib/check_reqs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/c91b2726/bin/lib/check_reqs.js ---------------------------------------------------------------------- diff --git a/bin/lib/check_reqs.js b/bin/lib/check_reqs.js index 61bd449..7794594 100644 --- a/bin/lib/check_reqs.js +++ b/bin/lib/check_reqs.js @@ -31,7 +31,7 @@ var isWindows = process.platform == 'win32'; function forgivingWhichSync(cmd) { try { - return which.sync(path); + return which.sync(cmd); } catch (e) { return ''; }
