fix: verify postprocessed runtime gitops

This commit is contained in:
Codex
2026-07-04 17:52:47 +00:00
parent d0e48918ae
commit d493066f0b
2 changed files with 2 additions and 2 deletions
@@ -97,7 +97,7 @@ function injectRuntimeGitopsCommands(script) {
return String(script).replace(
/(node scripts\/run-bun\.mjs scripts\/gitops-render\.mjs[^\n]*--use-deploy-images[^\n]*)/g,
(match) => {
if (match.includes("--check")) return hasVerify(script) ? match : `${match}\n${verify}`;
if (match.includes("--check")) return hasVerify(script) ? match : verify;
return hasPostprocess(script) ? match : `${match}\n${postprocess}`;
},
);