Skip to content

Remove type prefix of the suggested subject message #137

Description

@mayconfsousa

The function getPreparedCommit should return the suggested message without the type prefixes (fix:, feat:,...).

// questions.js
default: getPreparedCommit('subject'),

Current behavior:

  1. Previous commit subject: "fix: my message"
  2. Current commit type: "fix"
  3. Current commit subject (suggestion): "fix: my message"
  4. Current commit subject after accept the suggestion: "fix: my message"
  5. Final commit subject "fix: fix: my message"

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