bendera / vscode-commit-message-editor

Edit commit messages in a convenient way.
https://marketplace.visualstudio.com/items?itemName=adam-bender.commit-message-editor
MIT License
73 stars 13 forks source link

Too many empty lines #77

Closed gtianw closed 1 year ago

gtianw commented 1 year ago

setting

    "commit-message-editor.dynamicTemplate": [
        "{type}{scope}: {subject}",
        "",
        "{body}",
        "",
        "{breaking_change}",
        "",
        "{issue}"
    ]

version 0.20.0

Problem Description if body, breaking_change, issue are all empty, the commit message will generate 5 trailing empty lines.

bendera commented 1 year ago

Oh noo!! I know what the problem is.

bendera commented 1 year ago

fixed in the latest version