mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-25 06:41:21 +00:00
Remove spaces in the CSV header row
This commit is contained in:
@@ -46,7 +46,7 @@ function route (app) {
|
|||||||
app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {
|
app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {
|
||||||
var task = res.locals.task;
|
var task = res.locals.task;
|
||||||
var result = res.locals.result;
|
var result = res.locals.result;
|
||||||
var rows = ['"code", "message", "type"'];
|
var rows = ['"code","message","type"'];
|
||||||
result.results.forEach(function (msg) {
|
result.results.forEach(function (msg) {
|
||||||
rows.push([
|
rows.push([
|
||||||
JSON.stringify(msg.code),
|
JSON.stringify(msg.code),
|
||||||
|
Reference in New Issue
Block a user