fix(inventory): biome lint — a bare template literal and a string concat
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 <noreply@anthropic.com>
This commit is contained in:
parent
10a161ee07
commit
619b94b7df
1 changed files with 2 additions and 4 deletions
|
|
@ -182,7 +182,7 @@ export function renderInventory(
|
||||||
`inventory — ${ctx.orgRepo} ${ctx.env}`,
|
`inventory — ${ctx.orgRepo} ${ctx.env}`,
|
||||||
"",
|
"",
|
||||||
` looked in: project "${ctx.project}", environment "${ctx.environment}"`,
|
` 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",
|
"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.",
|
"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}`,
|
` cast inventory --env ${ctx.env} --instance ${ctx.instance}`,
|
||||||
"",
|
"",
|
||||||
"(The manifest declares: " +
|
`(The manifest declares: ${rec.manifestOnly.map((m) => m.name).join(", ")}.)`,
|
||||||
rec.manifestOnly.map((m) => m.name).join(", ") +
|
|
||||||
".)",
|
|
||||||
].join("\n");
|
].join("\n");
|
||||||
}
|
}
|
||||||
const lines = [
|
const lines = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue