fix(maestro): align structured diff hunks
This commit is contained in:
@@ -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" });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user