Skip to content

New line is added while adr TOC is injected in another file #38

@cohobodev

Description

@cohobodev

While generating TOC and injecting it to the target file with command adr-log -d "adr" -i "index.md" additional new line is added every time after <!-- adrlogstop --><!-- adrlogstop -->. In the end even if there is no changes in ADR TOC, still the target file is reported as changed by git because of this additional empty line(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions