Skip to content

Commit d8d311c

Browse files
committed
fixup!
1 parent 5765590 commit d8d311c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/remark-lint/src/rules/yaml/ordered-yaml-keys.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function orderedYamlKeys(
2323
yaml,
2424
report,
2525
_,
26-
validKeys,
26+
validKeys = DEFAULT_VALID_KEYS,
2727
prefix = ''
2828
) {
2929
if (!yaml || typeof yaml !== 'object' || Array.isArray(yaml)) return;

packages/remark-lint/src/rules/yaml/validate-changes.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default function validateChanges({ changes }, report, options) {
7070
}
7171

7272
// Key validation
73-
orderedYamlKeys(change, report, CHANGE_VALID_KEYS, prefix);
73+
orderedYamlKeys(change, report, options, CHANGE_VALID_KEYS, prefix);
7474
}
7575

7676
// Version validation

0 commit comments

Comments
 (0)