diff --git a/.idea/workspace.xml b/.idea/workspace.xml index bb5050d..1836b0b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,8 @@ - + + diff --git a/bin/a11y-sitechecker.ts b/bin/a11y-sitechecker.ts index 4107e99..95711c2 100644 --- a/bin/a11y-sitechecker.ts +++ b/bin/a11y-sitechecker.ts @@ -85,7 +85,7 @@ export async function next(config: Config, axeSpecs: Spec, url: string): Promise result.url = url; mergeResults(report, result); if (config.json) { - writeToJsonFile(JSON.stringify(report, null, 2), config.resultsPath); + writeToJsonFile(JSON.stringify(result, null, 2), config.resultsPath); } else { log( prettyjson.render(report, {