Skip to content

Commit c7fa1f5

Browse files
committed
Moves axe builder back
1 parent ae45dcd commit c7fa1f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/find/src/findForUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export async function findForUrl(
3030

3131
let findings: Finding[] = [];
3232
try {
33+
const rawFindings = await new AxeBuilder({ page }).analyze();
3334
let screenshotId: string | undefined;
3435

3536
if (includeScreenshots) {
@@ -57,7 +58,6 @@ export async function findForUrl(
5758
}
5859
}
5960

60-
const rawFindings = await new AxeBuilder({ page }).analyze();
6161
findings = rawFindings.violations.map((violation) => ({
6262
scannerType: "axe",
6363
url,

0 commit comments

Comments
 (0)