PEP-242: якорь блока секретов не зависит от названия платформы (после PEP-243 «из FORGE»)
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 42с
peppa/build build: success за 31с
peppa/test test: success за 1278с
peppa-ci / ci (pull_request) Successful in 23m28s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
peppa-bot 2026-11-23 08:08:01 +00:00
parent 4fa58fa21d
commit 7bedf9d342
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ export type SecretsBlockResult =
| { state: "present" }
| { state: "unsupported"; reason: string };
const BLOCK_START = "# PEP-112: секреты проекта из Пеппы";
const BLOCK_START = "# PEP-112: секреты проекта из "; // «из Пеппы» before PEP-243, «из FORGE» after
/**
* Adds only the project secrets block (PEP-112) of the template's deploy script to a project's own

View File

@ -112,7 +112,7 @@ describe("Сверка шаблона в вачдоге", () => {
/** The template's deploy script as it was before PEP-112: no block, no override, no call — plus a project's own line. */
function oldProjectScript(): string {
const lines = TEMPLATE.split("\n");
const start = lines.findIndex((l) => l.startsWith("# PEP-112: секреты проекта из Пеппы"));
const start = lines.findIndex((l) => l.startsWith("# PEP-112: секреты проекта из "));
const end = lines.findIndex((l, i) => i > start && l === "}");
lines.splice(start, end - start + 2);
const out = lines