Skip to content

Don't log "here are the available roles" if there are no roles available. #328

@kentcdodds

Description

@kentcdodds

Pretty much just need to do a bit of logic for this:

Here are the available roles:
${prettyRoles(container)
.replace(/\n/g, '\n ')
.replace(/\n\s\s\n/g, '\n\n')}
`.trim()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions