Closed
Description
Product: cli
Expectation: Should be able to use --exit
and --save
/--dir
on the same call.
Actual: When both are specified, --exit
works, but --save
/--dir
seems to be ignored.
Motivation: As part of my CI process, I'd like to have axe fail my build, but still get the detailed JSON file to include in reports.
axe-core version: 4.6.1
@axe-core/cli: 4.6.0
- Node version: 18.12.1
- Platform: Windows
This doesn't write file.json
:
axe https://google.com --save file.json --exit
This writes file.json
:
axe https://google.com --save file.json