Skip to content

Commit

Permalink
chore(build): fix run handling
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Mar 24, 2024
1 parent 708aa0c commit 2305af4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kayle/lib/kayle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const audit = async (config: RunnerConfig): Promise<Audit> => {
window.origin = runOptions.origin;
}
// @ts-ignore
return await window.__a11y.run(runOptions);
return await window?.__a11y?.run(runOptions);
},
{
hideElements: config.hideElements,
Expand Down
2 changes: 1 addition & 1 deletion kayle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kayle",
"version": "0.8.47",
"version": "0.8.48",
"description": "Extremely fast and accurate accessibility engine built for any headless tool like playwright or puppeteer.",
"main": "./build/index.js",
"keywords": [
Expand Down

0 comments on commit 2305af4

Please sign in to comment.