Skip to content

Commit fbe9906

Browse files
committed
spaces in report
1 parent 8bc84b6 commit fbe9906

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

scripts/audit-implementation.mjs

+13-10
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ async function createReport(results) {
126126
report += '```\n';
127127
report += '<details>\n';
128128
report += '<summary>Response</summary>\n';
129+
report += '\n';
129130
report += '```json\n';
130131
const res = result.response;
131132
/** @type {Record<string, string>} */
@@ -140,18 +141,20 @@ async function createReport(results) {
140141
} catch {
141142
// noop
142143
}
143-
report += JSON.stringify(
144-
{
145-
status: res.status,
146-
statusText: res.statusText,
147-
headers,
148-
body: json || text,
149-
},
150-
null,
151-
' ',
152-
);
144+
report +=
145+
JSON.stringify(
146+
{
147+
status: res.status,
148+
statusText: res.statusText,
149+
headers,
150+
body: json || text,
151+
},
152+
null,
153+
' ',
154+
) + '\n';
153155
report += '```\n';
154156
report += '</details>\n';
157+
report += '\n\n';
155158
}
156159
report += '\n';
157160
}

0 commit comments

Comments
 (0)