diff --git a/kayle/lib/option.ts b/kayle/lib/option.ts index 9b98b82..e1677e6 100644 --- a/kayle/lib/option.ts +++ b/kayle/lib/option.ts @@ -45,7 +45,9 @@ export function extractArgs(o, watcher?: Watcher) { // default to a runner if ( - !options.runners.some((runner) => runner === "axe" || runner === "htmlcs" || runner === "ace") + !options.runners.some( + (runner) => runner === "axe" || runner === "htmlcs" || runner === "ace" + ) ) { options.runners.push("htmlcs"); } diff --git a/kayle/lib/runner.ts b/kayle/lib/runner.ts index b9b911f..c845a33 100644 --- a/kayle/lib/runner.ts +++ b/kayle/lib/runner.ts @@ -105,7 +105,7 @@ type: issue.type || issueCodeReverseMap[typeCode], typeCode: typeCode || 0, message: issue.message, - runner: issue.runner || issue.bounds ? "ace" : "kayle", + runner: issue.runner ? issue.runner : issue.bounds ? "ace" : "kayle", runnerExtras: issue.runnerExtras, recurrence: issue.recurrence || 0, clip: issue.bounds diff --git a/kayle/package.json b/kayle/package.json index 9dafb42..c08a9cd 100644 --- a/kayle/package.json +++ b/kayle/package.json @@ -1,6 +1,6 @@ { "name": "kayle", - "version": "0.7.7", + "version": "0.7.8", "description": "Extremely fast and accurate accessibility engine built for any headless tool like playwright or puppeteer.", "main": "./build/index.js", "keywords": [