mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Tooling update (#184)
* Use a common Makefile/build process * Use ESLint with the pa11y lint config
This commit is contained in:
@@ -38,12 +38,15 @@ function createNavigator(baseUrl, store) {
|
||||
json: opts.json || false,
|
||||
qs: opts.query,
|
||||
followAllRedirects: true
|
||||
}, function(err, res, body) {
|
||||
}, function(error, response, body) {
|
||||
if (error) {
|
||||
return callback(error);
|
||||
}
|
||||
|
||||
store.body = body;
|
||||
store.request = res.request;
|
||||
store.response = res;
|
||||
store.status = res.statusCode;
|
||||
store.request = response.request;
|
||||
store.response = response;
|
||||
store.status = response.statusCode;
|
||||
|
||||
if (opts.nonDom) {
|
||||
store.dom = null;
|
||||
|
Reference in New Issue
Block a user