-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
Commit message starting with # is ignored and is displayed as an empty commit.
To Reproduce
Create a commit starting with '#'.
Eg: "#24 fixed github issue"
commitlint "#24 fixed github issue"
Expected behavior
'#' of the 1st line (commit header) should not be ignored as a comment.
Environment
- Python version: N/A
- Package version: v1
- Operating system: Linux
- Any other relevant information about your environment.
Additional context
Commitlint output
$ commitlint "#24 fixed github issue"
⧗ Input:
✖ Found 1 error(s).
- Commit message does not follow the Conventional Commits format.
subashcssugat009
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
aj3sh commentedon Jul 2, 2024
Additional Findings for the Bug.
#
in editor mode.Reference video:
https://github.com/opensource-nepal/commitlint/assets/35629644/25ae5390-4cfa-45b8-98cd-2ea91781fc27
cc: @sugat009
sugat009 commentedon Jul 5, 2024
Let's keep this issue open for now, there might be ways to work around this in the future.