From c91b272648493cfaaad972b42c4868650323ad97 Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Mon, 18 Aug 2014 15:26:05 -0400 Subject: [PATCH] CB-7044 Fix typo in prev commit causing check_reqs to always fail. --- 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 61bd4494..7794594e 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 ''; }