Skip to content

Commit de49e6e

Browse files
committed
fix(scope-maker): allow skipping scope when rule not set
1 parent d779043 commit de49e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompts/scope-maker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ function parseEmptyScopeRule(rule: Rules['scope-empty']): [boolean, ChoiceOption
4444
if (applicability === 'always') {
4545
return [true, skipChoice];
4646
}
47+
return [false, undefined];
4748
}
48-
return [false, undefined];
4949
}
5050
return [true, skipChoice];
5151
}

0 commit comments

Comments
 (0)