add-msg-issue-prefix-hook icon indicating copy to clipboard operation
add-msg-issue-prefix-hook copied to clipboard

Inconsistency between version in issue insertion

Open stickm4n opened this issue 1 year ago • 0 comments

  - repo: https://github.com/avilaton/add-msg-issue-prefix-hook
    rev: v0.0.x
    hooks:
      - id: add-msg-issue-prefix
        args:
          - '--template=[{}]'
          - '--pattern=[a-zA-Z0-9]{1,10}-[0-9]{1,5}'
          - '--default=[NO-ISSUE]'
          - '--insert-after=^feat.?:|^fix.?:|^docs.?:|^style.?:|^refactor.?:|^test.?:|^chore.?:|^ci.?:|^build.?:|^perf.?:|^revert.?:'

rev: v0.0.8 outputs -> feat: [NO-ISSUE] commit message rev: v0.0.11 outputs -> feat:[NO-ISSUE] commit message

According to docs (and in my humble opinion) v0.0.8 works fine but v0.0.11 has one-char offset to the left of the insertion position.

stickm4n avatar Apr 24 '24 10:04 stickm4n