Skip to content

Commit cdc49ee

Browse files
halitoguncrvagg
authored andcommitted
bin: fix the usage instructions
PR-URL: #1888 Reviewed-By: Rod Vagg <[email protected]>
1 parent 0384683 commit cdc49ee

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/build.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ const log = require('npmlog')
77
const which = require('which')
88
const win = process.platform === 'win32'
99

10-
exports.usage = 'Invokes `' + (win ? 'msbuild' : 'make') + '` and builds the module'
11-
1210
function build (gyp, argv, callback) {
1311
var platformMake = 'make'
1412
if (process.platform === 'aix') {
@@ -203,3 +201,4 @@ function build (gyp, argv, callback) {
203201
}
204202

205203
module.exports = build
204+
module.exports.usage = 'Invokes `' + (win ? 'msbuild' : 'make') + '` and builds the module'

lib/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ function list (gyp, args, callback) {
2424
}
2525

2626
module.exports = list
27-
exports.usage = 'Prints a listing of the currently installed node development files'
27+
module.exports.usage = 'Prints a listing of the currently installed node development files'

0 commit comments

Comments
 (0)