Skip to content

Commit

Permalink
fix: result saved not resultByUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
forsti0506 committed Jan 23, 2021
1 parent 621aa29 commit 9bb418f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/a11y-sitechecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 9bb418f

Please sign in to comment.