summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2014-06-16 22:53:42 +0100
committerprzemyslawpluta <przemekpluta@hotmail.com>2014-06-16 22:53:42 +0100
commitebaef4a68b13ba11b33acc669d39729192317d8a (patch)
treee9aa76517cb6c9a1787079df296d09918f03184f
parentbec24a24b4c020469b1f5ed2e0ec7822f9266da7 (diff)
downloadmongo-edu-ebaef4a68b13ba11b33acc669d39729192317d8a.zip
update py scan
-rw-r--r--lib/configure.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/configure.js b/lib/configure.js
index 47c5245..34161b0 100644
--- a/lib/configure.js
+++ b/lib/configure.js
@@ -7,6 +7,7 @@
*/
var which = require('which'),
+ colors = require('colors'),
glob = require('glob');
module.exports = function configure(argv, callback) {
@@ -44,7 +45,8 @@ module.exports = function configure(argv, callback) {
}
function failNoPython() {
- callback(new Error('Can\'t find Python executable "' + python + '", you can set the PYTHON env variable.'));
+ console.log('[' + 'i'.red + '] Can\'t find Python executable ' + python.red + ', you can set the PYTHON env variable.');
+ process.exit(0);
}
checkPython();