Skip to content

Commit 9ef0970

Browse files
committed
Merge branch 'compare-builds' of https://github.com/nodejs/doc-kit into compare-builds
2 parents 7d33921 + 37a134e commit 9ef0970

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/compare-builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Download Output (BASE)
7171
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
7272
with:
73-
name: web
73+
name: ${{ matrix.comparator }}
7474
path: out/base
7575
run-id: ${{ steps.base-run.outputs.run_id }}
7676
github-token: ${{ secrets.GITHUB_TOKEN }}

scripts/compare-builds/web.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const formatBytes = bytes => {
2424
* Formats the difference between base and head sizes
2525
* @param {number} base - Base file size in bytes
2626
* @param {number} head - Head file size in bytes
27-
* @returns {string} Formatted diff string (e.g., "+1.50 KB (+10. 00%)")
27+
* @returns {string} Formatted diff string (e.g., "+1.50 KB (+10.00%)")
2828
*/
2929
const formatDiff = (base, head) => {
3030
const diff = head - base;

0 commit comments

Comments
 (0)