Skip to content

Commit

Permalink
chore: avoid duplicate keys to throw when building the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomontalbano committed Oct 28, 2024
1 parent 441c478 commit d4a7f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/generate-abilities.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function generatePageFromAbilities() {

/** @type Doc */
// @ts-expect-error doc is `unknown`
const doc = yaml.load(plainText)
const doc = yaml.load(plainText, { json: true })

const repositories = await getRepositoryNames()

Expand Down

0 comments on commit d4a7f1d

Please sign in to comment.