summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();