dequelabs / axe-linter-action

A GitHub Action to lint for any accessibility issues in your pull requests.
Mozilla Public License 2.0
8 stars 6 forks source link

axe-linter.sh No such file or directory #48

Closed sergei-startsev closed 2 days ago

sergei-startsev commented 2 weeks ago

Axe linter fails with No such file or directory error if PR contains empty files:

+ Response='{"error":"source is required"}'
++ echo '{"error":"source is required"}'
++ jq 'has("error")'
+ '[' true = true ']'
++ echo '{"error":"source is required"}'
++ jq -r .error
+ source is required
/dequelabs/axe-linter-action/v1/axe-linter.sh: line 55: is: No such file or directory
michael-siek commented 1 week ago

Hey @sergei-startsev we are currently looking into this issue