Skip to content

Commit

Permalink
bin: fix the usage instructions
Browse files Browse the repository at this point in the history
PR-URL: #1888
Reviewed-By: Rod Vagg <rod@vagg.org>
  • Loading branch information
halitogunc authored and rvagg committed Sep 26, 2019
1 parent 0384683 commit cdc49ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down Expand Up @@ -203,3 +201,4 @@ function build (gyp, argv, callback) {
}

module.exports = build
module.exports.usage = 'Invokes `' + (win ? 'msbuild' : 'make') + '` and builds the module'
2 changes: 1 addition & 1 deletion lib/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit cdc49ee

Please sign in to comment.