axe-core-api 4.7.0.pre.bef7d97 → 4.7.0.pre.f368a23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/axe/api/run.rb +5 -2
- data/node_modules/axe-core/axe.min.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39201f3f42cfec92526fcc467e9662df608b50bbbc7df18409373f823fdd9a8e
|
4
|
+
data.tar.gz: b1e1c2bff23e28535a3a876ee2ac3ea4d6c9d845db2874d386bb70cb324b9e94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ccea46715a52d4e0cdcf8f310a4e01333941fbc576886158950848aa08022d2ab53535a6175fe3d6ed24915914725eea958ab8a1fdc40338007820e75cf73db
|
7
|
+
data.tar.gz: 4ce4c0115a20744f591225bc0a86903de8455b9a55fe56c9ac5b147a0546453a13d96993a9ddcd46217b14254d21202d47285c1d26c0de46b3c0b4aa5fa01da0
|
data/lib/axe/api/run.rb
CHANGED
@@ -133,8 +133,11 @@ module Axe
|
|
133
133
|
end
|
134
134
|
|
135
135
|
res = axe_run_partial page, context
|
136
|
-
if res.key?("errorMessage")
|
137
|
-
|
136
|
+
if res.nil? || res.key?("errorMessage")
|
137
|
+
if top_level
|
138
|
+
throw res unless res.nil?
|
139
|
+
throw "axe.runPartial returned null"
|
140
|
+
end
|
138
141
|
return [nil]
|
139
142
|
else
|
140
143
|
results = [res]
|