Skip to content

Commit 80e4219

Browse files
authored
Fix logic (firebase#3788)
1 parent 1309b93 commit 80e4219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const prompt = createPromptModule();
4646
* Use --ignoreUnstaged to skip, such as if release-cli is continuing from a
4747
* checkpoint.
4848
*/
49-
if (!argv.ignoreUnstaged || (await hasDiff())) {
49+
if (!argv.ignoreUnstaged && (await hasDiff())) {
5050
throw new Error(
5151
'You have unstaged changes, stash your changes before attempting to publish'
5252
);

0 commit comments

Comments
 (0)