We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b45f4c commit 2f5a047Copy full SHA for 2f5a047
src/pluginCore.js
@@ -20,7 +20,7 @@ exports.runPa11y = async function ({ build, htmlFilePaths, wcagLevel }) {
20
htmlFilePaths.map(async (path) => {
21
try {
22
const res = await pa11y(path, pa11yOpts)
23
- if (res.issues && res.issues.length) {
+ if (res.issues.length) {
24
issueCount += res.issues.length
25
return cliReporter(res)
26
}
0 commit comments