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 3051b20 commit 240fcbeCopy full SHA for 240fcbe
src/prompts/footer-maker.ts
@@ -95,13 +95,11 @@ export function breakingTransformFactory(rules: QualifiedRules, prefix: string):
95
}
96
97
export function issuesTransformerFactory(rules: QualifiedRules): (value: string, answers: Answers) => string {
98
- return (value: string, answers: Answers) => {
99
- const breaking = answers.breaking ?? '';
100
-
+ return (value: string) => {
101
const footerMaxLength = valueFromRule(rules['footer-max-length']);
102
103
if (footerMaxLength) {
104
- return maxLengthTransformerFactory(footerMaxLength - breaking.length)(value);
+ return maxLengthTransformerFactory(footerMaxLength)(value);
105
106
107
return value;
0 commit comments