Skip to content

Shouldn't switch in prompt warn user if type doesn't exist? #4

Open
@HZooly

Description

@HZooly

Describe the bug
Not really a bug, just a developer question.
I was developing a tool with Qoa, and I've done a typo in question type, password instead of hidden. I didn't understand why I didn't get prompted for this question.

To Reproduce
Use an non existing type.

Expected behavior
Warning/error about non existing type ?

Thanks for your work on this project 🔥

https://github.com/klaussinani/qoa/blob/master/src/qoa.js#L73

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions