From 601f6168f599fde1175278ef9c4b266ed9671a36 Mon Sep 17 00:00:00 2001 From: dan-claude-bot Date: Mon, 20 Jul 2026 21:04:17 +0000 Subject: [PATCH] style: apply biome formatting to the step-block extractor The new findIndex callback and the monoBlock array literal exceeded biome's line budget, so `biome check --error-on-warnings .` failed and took the build job red with it. Formatter output applied verbatim; no logic change, and the extractor mutations still behave (unrelated job gated -> green, monotonic step gated -> red). My miss, and the same shape as the shellcheck one on box#144: I tailed two lines of `npm run check` and never saw "Found 1 error". Ran CI's exact command and read all of its output this time. Co-Authored-By: Claude Opus 4.8 --- test/release.test.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/release.test.ts b/test/release.test.ts index db32ef6..368d352 100644 --- a/test/release.test.ts +++ b/test/release.test.ts @@ -705,11 +705,16 @@ describe("changelog-monotonic.sh — release headings are append-only (#133)", ( /^ {6}- name: no shipped changelog heading/.test(l), ); const after = ciLines.slice(monoStart + 1); - const monoEnd = after.findIndex((l) => /^ {6}- /.test(l) || /^ {2}\S/.test(l)); + const monoEnd = after.findIndex( + (l) => /^ {6}- /.test(l) || /^ {2}\S/.test(l), + ); const monoBlock = monoStart < 0 ? undefined - : [ciLines[monoStart], ...after.slice(0, monoEnd < 0 ? after.length : monoEnd)].join("\n"); + : [ + ciLines[monoStart], + ...after.slice(0, monoEnd < 0 ? after.length : monoEnd), + ].join("\n"); expect(monoBlock).toBeDefined(); expect(monoBlock).toContain("changelog-monotonic.sh"); // Anchored: an `if:` inside a `run:` line is not a step condition.