Skip to content

Validation error when more than one space follows the subject change type #191

@stathismor

Description

@stathismor

When validating the subject, two spaces after the colon throw an error. This is a bit too strict and should probably be allowed and still considered a valid change type.

Example (https://ci.balena-dev.com/builds/1049419):

Validating commit: 8232e7952bb636cedce393211b03c77c591263f9

patch:  Updating the outdated screencaps in Account Management

Found the following errors:

Error: The commit subject must not start with a leading space

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