From 5d3a0a7ff1ab8f0d299665a52e2edbd043b85087 Mon Sep 17 00:00:00 2001 From: SemiConscious Date: Sun, 12 May 2024 12:10:47 +0100 Subject: [PATCH] Update node-pre-gyp-github.js Remove incorrect parameter from the action handler function --- bin/node-pre-gyp-github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/node-pre-gyp-github.js b/bin/node-pre-gyp-github.js index aa91127..4bdbcc2 100755 --- a/bin/node-pre-gyp-github.js +++ b/bin/node-pre-gyp-github.js @@ -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