@@ -69,7 +69,7 @@ function configure (gyp, argv, callback) {
6969// into devdir. Otherwise only install if they're not already there.
7070gyp . opts . ensure = gyp . opts . tarball ? false : true
7171
72- gyp . commands . install ( [ release . version ] , function ( err , version ) {
72+ gyp . commands . install ( [ release . version ] , function ( err ) {
7373if ( err ) return callback ( err )
7474log . verbose ( 'get node dir' , 'target node version installed:' , release . versionDir )
7575nodeDir = path . resolve ( gyp . devDir , release . versionDir )
@@ -188,7 +188,7 @@ function configure (gyp, argv, callback) {
188188if ( ! name ) return runGyp ( )
189189var fullPath = path . resolve ( name )
190190log . verbose ( name , 'checking for gypi file: %s' , fullPath )
191- fs . stat ( fullPath , function ( err , stat ) {
191+ fs . stat ( fullPath , function ( err ) {
192192if ( err ) {
193193if ( err . code == 'ENOENT' ) {
194194findConfigs ( ) // check next gypi filename
@@ -275,7 +275,7 @@ function configure (gyp, argv, callback) {
275275var gyp_script = path . resolve ( __dirname , '..' , 'gyp' , 'gyp_main.py' )
276276var addon_gypi = path . resolve ( __dirname , '..' , 'addon.gypi' )
277277var common_gypi = path . resolve ( nodeDir , 'include/node/common.gypi' )
278- fs . stat ( common_gypi , function ( err , stat ) {
278+ fs . stat ( common_gypi , function ( err ) {
279279if ( err )
280280common_gypi = path . resolve ( nodeDir , 'common.gypi' )
281281
@@ -329,7 +329,7 @@ function configure (gyp, argv, callback) {
329329} )
330330}
331331
332- function onCpExit ( code , signal ) {
332+ function onCpExit ( code ) {
333333if ( code !== 0 ) {
334334callback ( new Error ( '`gyp` failed with exit code: ' + code ) )
335335} else {
@@ -492,7 +492,7 @@ PythonFinder.prototype = {
492492}
493493var pythonPath = this . resolve ( rootDir , 'Python27' , 'python.exe' )
494494this . log . verbose ( 'ensuring that file exists:' , pythonPath )
495- this . stat ( pythonPath , function ( err , stat ) {
495+ this . stat ( pythonPath , function ( err ) {
496496if ( err ) {
497497if ( err . code == 'ENOENT' ) {
498498this . failNoPython ( )
0 commit comments