Skip to content

Commit

Permalink
Merge pull request #46 from SemiConscious/fix-options-invocation
Browse files Browse the repository at this point in the history
Fix options infocation
  • Loading branch information
bchr02 authored May 12, 2024
2 parents ffecef0 + 5d3a0a7 commit 115ab23
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 115ab23

Please sign in to comment.