Skip to content

Commit 5c8be96

Browse files
committed
🐛 Fix parameter
1 parent de52634 commit 5c8be96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ getDiff(leftSchemaLocation, rightSchemaLocation, {
163163
if (
164164
(hasDangerousChanges && cli.flags.failOnDangerousChanges) ||
165165
(hasBreakingChanges && cli.flags.failOnBreakingChanges) ||
166-
cli.flags.failOnChanges
166+
cli.flags.failOnAllChanges
167167
) {
168168
process.exit(1);
169169
return;

0 commit comments

Comments
 (0)