Skip to content

Commit

Permalink
Update node-pre-gyp-github.js
Browse files Browse the repository at this point in the history
Remove incorrect parameter from the action handler function
  • Loading branch information
SemiConscious authored May 12, 2024
1 parent ba7dfa8 commit 5d3a0a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/node-pre-gyp-github.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ program
.description('publishes the contents of .\\build\\stage\\{version} to the current version\'s GitHub release')
.option("-r, --release", "publish immediately, do not create draft")
.option("-s, --silent", "turns verbose messages off")
.action(async function(cmd, options){
.action(async function(options){
const opts = {
draft: options.release ? false : true,
verbose: options.silent ? false : true
Expand Down

0 comments on commit 5d3a0a7

Please sign in to comment.