File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
* @typedef {import('../types.js').Handle } Handle
3
3
*/
4
4
5
- import { checkRuleRepeat } from '../util/check-rule-repeat .js'
5
+ import { checkRuleRepetition } from '../util/check-rule-repetition .js'
6
6
import { checkRule } from '../util/check-rule.js'
7
7
8
8
/**
@@ -11,7 +11,7 @@ import {checkRule} from '../util/check-rule.js'
11
11
export function thematicBreak ( _ , _1 , context ) {
12
12
const value = (
13
13
checkRule ( context ) + ( context . options . ruleSpaces ? ' ' : '' )
14
- ) . repeat ( checkRuleRepeat ( context ) )
14
+ ) . repeat ( checkRuleRepetition ( context ) )
15
15
16
16
return context . options . ruleSpaces ? value . slice ( 0 , - 1 ) : value
17
17
}
Original file line number Diff line number Diff line change 7
7
* @param {Context } context
8
8
* @returns {Exclude<Options['ruleRepetition'], undefined> }
9
9
*/
10
- export function checkRuleRepeat ( context ) {
10
+ export function checkRuleRepetition ( context ) {
11
11
const repetition = context . options . ruleRepetition || 3
12
12
13
13
if ( repetition < 3 ) {
You can’t perform that action at this time.
0 commit comments