Skip to content

Commit 7ca0a2a

Browse files
committed
spaces in report
1 parent 635a81b commit 7ca0a2a

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
@@ -138,6 +138,7 @@ async function createReport(results) {
138138
report += '```\n';
139139
report += '<details>\n';
140140
report += '<summary>Response</summary>\n';
141+
report += '\n';
141142
report += '```json\n';
142143
const res = result.response;
143144
/** @type {Record<string, string>} */
@@ -152,18 +153,20 @@ async function createReport(results) {
152153
} catch {
153154
// noop
154155
}
155-
report += JSON.stringify(
156-
{
157-
status: res.status,
158-
statusText: res.statusText,
159-
headers,
160-
body: json || text,
161-
},
162-
null,
163-
' ',
164-
);
156+
report +=
157+
JSON.stringify(
158+
{
159+
status: res.status,
160+
statusText: res.statusText,
161+
headers,
162+
body: json || text,
163+
},
164+
null,
165+
' ',
166+
) + '\n';
165167
report += '```\n';
166168
report += '</details>\n';
169+
report += '\n\n';
167170
}
168171
report += '\n';
169172
}

0 commit comments

Comments
 (0)