Skip to content

Bug with interactive.accepts() #39

@thekevinscott

Description

@thekevinscott

I believe there is a bug with the accepts() method when using interactive.

I set up a repo here demonstrating the issue.

This is the error:

Screenshot 2024-02-18 at 2 40 06 PM

I believe what is happening is that accepts is attempting to iterate with an of statement here, but it gets back an object from choices() which cannot be iterated over with of (it could be iterated over with in, which would return the object's keys).

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