Skip to content

Commit 1b7fc8d

Browse files
committed
PR feedback
1 parent e83bfbf commit 1b7fc8d

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ export async function findForUrl(
4848
plugin,
4949
page,
5050
addFinding,
51-
// - this will be coming soon
52-
// runAxeScan: () => runAxeScan({page, includeScreenshots, findings}),
5351
})
5452
} else {
5553
core.info(`Skipping plugin ${plugin.name} because it is not included in the 'scans' input`)

.github/actions/find/src/pluginManager.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ const __dirname = path.dirname(__filename)
1313
type PluginDefaultParams = {
1414
page: playwright.Page
1515
addFinding: (findingData: Finding) => void
16-
// - this will be coming soon
17-
// runAxeScan: (options: {includeScreenshots: boolean; page: playwright.Page; findings: Finding[]}) => Promise<void>
1816
}
1917

20-
export type Plugin = {
18+
type Plugin = {
2119
name: string
2220
default: (options: PluginDefaultParams) => Promise<void>
2321
}

.github/actions/find/src/types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export type Finding = {
77
solutionShort: string
88
solutionLong?: string
99
screenshotId?: string
10-
ruleId: string
10+
ruleId?: string
1111
}
1212

1313
export type Cookie = {

0 commit comments

Comments
 (0)