diff --git a/lib/cli.js b/lib/cli.js index 79567c29..89f56a4a 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -33,7 +33,11 @@ const main = async () => { if (cliOptions.dryRun) { // eslint-disable-next-line no-console console.log('Running in dry mode.'); - } else if (!passThroughParams['allow-empty']) { + } else if ( + !passThroughParams['allow-empty'] && + !passThroughParams.a && + !passThroughParams.amend + ) { try { /** * @author https://github.com/rodrigograca31