From 967277534c2660c8dce9153bc3132f93625c73db Mon Sep 17 00:00:00 2001 From: James Forbes Date: Fri, 13 May 2022 11:25:28 +1000 Subject: [PATCH] Fix incorrect argv mapping (#340) (#341) * Debug minimize semver change * Reverse incorrect minimize-semver-change mapping --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 61259b0..0e5d6fc 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1981,7 +1981,7 @@ export async function main(){ if( preflights[subcommand] ) await preflight(argv._, argv) argv = { contributors: true, thanks: true, ...argv } - argv = { 'minimize-semver-change': argv.minimizeSemverChange, ...argv } + argv = { minimizeSemverChange: argv['minimize-semver-change'], ...argv } verbose(argv) await f(argv, ...argv._)