From ebaef4a68b13ba11b33acc669d39729192317d8a Mon Sep 17 00:00:00 2001 From: przemyslawpluta Date: Mon, 16 Jun 2014 22:53:42 +0100 Subject: update py scan --- lib/configure.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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(); -- cgit v1.2.3