diff --git a/packages/runner/src/template-sync.ts b/packages/runner/src/template-sync.ts index ea595b4e..83ab1cca 100644 --- a/packages/runner/src/template-sync.ts +++ b/packages/runner/src/template-sync.ts @@ -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 diff --git a/packages/testkit/test/template-sync.test.ts b/packages/testkit/test/template-sync.test.ts index 3806dfc9..5ab8294a 100644 --- a/packages/testkit/test/template-sync.test.ts +++ b/packages/testkit/test/template-sync.test.ts @@ -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