From 619b94b7dff08fafdc2c75f3e76cfba26c595714 Mon Sep 17 00:00:00 2001 From: claude-hdb Date: Mon, 13 Jul 2026 19:22:07 +0000 Subject: [PATCH] =?UTF-8?q?fix(inventory):=20biome=20lint=20=E2=80=94=20a?= =?UTF-8?q?=20bare=20template=20literal=20and=20a=20string=20concat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI caught what my local gate did not: `npm run check 2>&1 | tail -1 && commit` takes the exit status of `tail`, not of biome, so the `&&` gated nothing. The check had been failing locally too; the pipe was swallowing it. - noUnusedTemplateLiteral: a backtick string with no interpolation - useTemplate: string concatenation where a template literal belongs Co-Authored-By: Claude Opus 4.8 --- src/inventory.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/inventory.ts b/src/inventory.ts index 0f8d6b3..0f952a1 100644 --- a/src/inventory.ts +++ b/src/inventory.ts @@ -182,7 +182,7 @@ export function renderInventory( `inventory — ${ctx.orgRepo} ${ctx.env}`, "", ` looked in: project "${ctx.project}", environment "${ctx.environment}"`, - ` found: NOTHING. Not one resource.`, + " found: NOTHING. Not one resource.", "", "This environment is EMPTY — so there is nothing here to reconcile, and the", "manifest's list below would just be the manifest talking to itself.", @@ -196,9 +196,7 @@ export function renderInventory( "", ` cast inventory --env ${ctx.env} --instance ${ctx.instance}`, "", - "(The manifest declares: " + - rec.manifestOnly.map((m) => m.name).join(", ") + - ".)", + `(The manifest declares: ${rec.manifestOnly.map((m) => m.name).join(", ")}.)`, ].join("\n"); } const lines = [