Skip to content

Commit 10ef0e2

Browse files
committed
bug: fix body-maker filters ordering
1 parent d48c643 commit 10ef0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompts/body-maker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ export function filterFactory(rules: Rules) {
2626
return (value: string) =>
2727
pipeWith<string>(
2828
value,
29-
v => leadingBlankFilter(v, rules['body-leading-blank']),
3029
v => maxLineLengthFilter(v, rules['body-max-line-length']),
30+
v => leadingBlankFilter(v, rules['body-leading-blank']),
3131
v => v.replace(/\\n/g, '\n')
3232
);
3333
}

0 commit comments

Comments
 (0)