diff --git a/scripts/summary.js b/scripts/summary.js index 225cc47..2ca20aa 100644 --- a/scripts/summary.js +++ b/scripts/summary.js @@ -24,23 +24,6 @@ const wrap = (s) => `\`${s}\``; await writeFile( 'summary.md', ` -${markdownTable( - [ - ['name', 'command', 'version'], - ...results - .slice() - .sort((a, b) => a.name.localeCompare(b.name)) - .flatMap(({ name, command, version }) => - version - .split('\n') - .map((versionLine, i) => [i == 0 ? wrap(name) : '', i == 0 ? wrap(command) : '', versionLine]) - ), - ], - { - align: ['l', 'l', 'l'], - } -)} - @@ -81,5 +64,22 @@ ${markdownTable(
Execution time
+${markdownTable( + [ + ['name', 'command', 'version'], + ...results + .slice() + .sort((a, b) => a.name.localeCompare(b.name)) + .flatMap(({ name, command, version }) => + version + .split('\n') + .map((versionLine, i) => [i == 0 ? wrap(name) : '', i == 0 ? wrap(command) : '', versionLine]) + ), + ], + { + align: ['l', 'l', 'l'], + } +)} + `.trim() );