Skip to content

Commit

Permalink
Remove outdated/unsupported parameter to ajv.compile validation funct…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
DavidAnson committed Dec 22, 2023
1 parent 0e98745 commit d596216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/markdownlint-cli2-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ test("validateMarkdownlintCli2ConfigSchema", async (t) => {
return Promise.all(files.map(async (file) => {
const content = await fs.readFile(file, "utf8");
const json = JSON.parse(stripJsonComments(content));
const instanceResult = validateConfigSchema(json, "BASIC");
const instanceResult = validateConfigSchema(json);
t.truthy(
instanceResult,
`${file}\n${JSON.stringify(validateConfigSchema.errors, null, 2)}`
Expand Down

0 comments on commit d596216

Please sign in to comment.