We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1309b93 commit 80e4219Copy full SHA for 80e4219
scripts/release/cli.ts
@@ -46,7 +46,7 @@ const prompt = createPromptModule();
46
* Use --ignoreUnstaged to skip, such as if release-cli is continuing from a
47
* checkpoint.
48
*/
49
- if (!argv.ignoreUnstaged || (await hasDiff())) {
+ if (!argv.ignoreUnstaged && (await hasDiff())) {
50
throw new Error(
51
'You have unstaged changes, stash your changes before attempting to publish'
52
);
0 commit comments