mirror of
https://github.com/electron/node-gyp.git
synced 2025-09-15 13:43:40 +02:00
configure: fix lint
This commit is contained in:
parent
62a5216d7b
commit
d0c058749a
1 changed files with 6 additions and 5 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue