diff options
author | przemyslawpluta <przemekpluta@hotmail.com> | 2014-06-16 22:53:42 +0100 |
---|---|---|
committer | przemyslawpluta <przemekpluta@hotmail.com> | 2014-06-16 22:53:42 +0100 |
commit | ebaef4a68b13ba11b33acc669d39729192317d8a (patch) | |
tree | e9aa76517cb6c9a1787079df296d09918f03184f /lib/configure.js | |
parent | bec24a24b4c020469b1f5ed2e0ec7822f9266da7 (diff) | |
download | mongo-edu-ebaef4a68b13ba11b33acc669d39729192317d8a.zip |
update py scan
Diffstat (limited to 'lib/configure.js')
-rw-r--r-- | lib/configure.js | 4 |
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(); |