Skip to content

invalid error names used for missing author and commit for schema publish #6819

@n1ru4l

Description

@n1ru4l

The name GithubCommitRequiredError and GithubAuthorRequiredError is misleading, as the commit and author is nothing that is related to Github.

if (!author) {
throw new GithubAuthorRequiredError();
}
if (!commit) {
throw new GithubCommitRequiredError();
}

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