fix(maestro): align structured diff hunks

This commit is contained in:
Miguel Palhas
2026-09-05 09:27:37 +01:00
parent efb54750ed
commit f96f94db8f
3 changed files with 230 additions and 54 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ function hunk(ops: Op[]): DiffLine[] {
const out: DiffLine[] = [];
const push = (op: Op) => {
out.push({ kind: op.kind, text: op.line.text });
if (op.kind !== "ctx" && !op.line.terminated) {
if (!op.line.terminated) {
out.push({ kind: "eof", text: "\\ No newline at end of file" });
}
};