Skip to content

Commit

Permalink
Merge pull request #1988 from adevinta/fix-a11y-script-storybookv8
Browse files Browse the repository at this point in the history
fix: fix a11y script after storybook upd to 8
  • Loading branch information
soykje authored Mar 22, 2024
2 parents 6ca174b + d2461f4 commit 5ab4e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/check-a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const impactColor = {
critical: chalk.red,
}

const { stories } = JSON.parse(readFileSync('dist/stories.json', 'utf8'))
const { entries: stories } = JSON.parse(readFileSync('dist/index.json', 'utf8'))

const hasFilter = process.argv.indexOf('-f') > -1
const pkgFilter = hasFilter
Expand Down

0 comments on commit 5ab4e12

Please sign in to comment.