Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit af52228

Browse files
committed
newline at the end of resultsTable
1 parent f12abde commit af52228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analyze.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ sortedServers.forEach((server) => {
169169
resultsTable += `\n|| [${formattedServerNames[server]}] | \`${formattedReqSecs}\` | \`${formattedLatencies}\` | \`${relativePerformance}x\` |`;
170170
});
171171

172-
fs.appendFileSync(resultsFile, resultsTable + "\n");
172+
fs.appendFileSync(resultsFile, resultsTable);
173173

174174
if (whichBench === 3) {
175-
fs.appendFileSync(resultsFile, "\n<!-- PERFORMANCE_RESULTS_END -->");
175+
fs.appendFileSync(resultsFile, "\n\n<!-- PERFORMANCE_RESULTS_END -->");
176176

177177
const finalResults = fs
178178
.readFileSync(resultsFile, "utf-8")

0 commit comments

Comments
 (0)