Skip to content

Setting the static site generator to an unsupported value crashes with non-descriptive error #196

@swantzter

Description

@swantzter

When setting the static site generator to something unsupported (which was useful on older versions to avoid audit-detection) the action crashes with the error "Error: TypeError: error must be an instance of Error" I suspect this is because of this line:
https://github.com/actions/configure-pages/blob/main/src/set-pages-config.js#L86 where a string is thrown rather than an Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions