diff --git a/lib/build.js b/lib/build.js index 24cfe38de2..c2388fb348 100644 --- a/lib/build.js +++ b/lib/build.js @@ -7,8 +7,6 @@ const log = require('npmlog') const which = require('which') const win = process.platform === 'win32' -exports.usage = 'Invokes `' + (win ? 'msbuild' : 'make') + '` and builds the module' - function build (gyp, argv, callback) { var platformMake = 'make' if (process.platform === 'aix') { @@ -203,3 +201,4 @@ function build (gyp, argv, callback) { } module.exports = build +module.exports.usage = 'Invokes `' + (win ? 'msbuild' : 'make') + '` and builds the module' diff --git a/lib/list.js b/lib/list.js index 3e5de28851..405ebc0d88 100644 --- a/lib/list.js +++ b/lib/list.js @@ -24,4 +24,4 @@ function list (gyp, args, callback) { } module.exports = list -exports.usage = 'Prints a listing of the currently installed node development files' +module.exports.usage = 'Prints a listing of the currently installed node development files'