configure: fix lint

This commit is contained in:
Nathan Rajlich 2012-11-03 17:56:00 -07:00
parent 62a5216d7b
commit d0c058749a

View file

@ -1,5 +1,6 @@
module.exports = exports = configure module.exports = exports = configure
/** /**
* Module dependencies. * Module dependencies.
*/ */
@ -108,14 +109,14 @@ function configure (gyp, argv, callback) {
} }
function failNoPython () { function failNoPython () {
callback(new Error('Can\'t find Python executable "' + python callback(new Error('Can\'t find Python executable "' + python +
+ '", you can set the PYTHON env variable.')) '", you can set the PYTHON env variable.'))
} }
function failPythonVersion (badVersion) { function failPythonVersion (badVersion) {
callback(new Error('Python executable "' + python callback(new Error('Python executable "' + python +
+ '" is v' + badVersion + ', which is not supported by gyp.\n' '" is v' + badVersion + ', which is not supported by gyp.\n' +
+ 'You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.')) 'You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.'))
} }
function checkWinSDK(cb) { function checkWinSDK(cb) {